Questions tagged [cefsharp]

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

CefSharp is an open-source project which provides WPF and WinForms web browser control implementations to embed Chromium in .NET application. It can be used from C# or VB, or any other CLR language.

This tag can be used as an alternative and/or complement to the Google Group for the project.

1702 questions
0
votes
0 answers

Open Links containing pattern in different tab in CefSharp WPF

I have an application with two tabs in a tab control, each containing a CefSharp ChromiumWebBrowser. Let's call these ChromiumWebBrowsers searchBrowser and detailsBrowser. Let's say I click a link in searchBrowser, and if that link contains the…
Nathan
  • 97
  • 2
  • 9
0
votes
0 answers

CefSharp with Chromium Renders text to small

It appears that i have trouble with cefsharp and/or chromium. So when i enter a webside the Text font is like 1px hight. As you see in the first picture this is how the testwebside should be displayed, but with cefsharp it looks like 2 lines like…
Feyre
  • 13
  • 1
  • 3
0
votes
0 answers

C# Cefsharp get value from element example?

I have been trying to use CEF to read text from a web page for a few days now, in this time I have looked at every Stack Exchange, Github, (insert other websites here) page imaginable and none of what I have found has worked for me. I understand…
SJ10
  • 315
  • 1
  • 4
  • 12
0
votes
0 answers

How do I export a HAR file from CefSharp

I have CefSharp (WinForms) to display a browser for UI Testing. I want to implement some functionality to automatically save the network requests as HAR File - similar to chrome devtools, when you access the network tab. I could not figure out if…
0
votes
2 answers

Cefsharp Chrominumwebbrowser not working in WPF

Hi I am new to cefsharp and tried using Cefsharp chromium web browser . when ever i tried to call the webbrowser it throws an exception like below Could not load file or assembly 'CefSharp.Wpf, PublicKeyToken=40c4b6fc221f4138' or one of its…
Dah Sra
  • 4,107
  • 3
  • 30
  • 69
0
votes
0 answers

Javascript does not execute when I add the IsBrowserInitializedChanged event

my javascript code is not running when I post the event: IsBrowserInitializedChanged. However, if I remove the event, the code will work, but the error will occur later. Code: chromeBrowser.IsBrowserInitializedChanged += (sender, args) => …
Slinidy
  • 367
  • 1
  • 4
  • 12
0
votes
0 answers

What is the best way to pass context parameters to a ResourceHandler

I am using CefSharp. I have a RequestHandler which read data from a multiple databases. I would like to pass a context object which will contain a service instance which is bound to a specific database connection. I wonder what is the best way to do…
ekalchev
  • 762
  • 7
  • 24
0
votes
0 answers

CefSharp Chromium. How do I create a custom item?

VS 2015 win 7x64 Installed CefSharp via Nuget according to the instructions. codeproject.com. Embedding Chrome in your C # App using CefSharp Created the user element "CefSharp". In the toolbar, my "user item" appeared. Drag the "user element" onto…
0
votes
0 answers

Does proxy-auto-detect work in CefSharp.Wpf?

I am trying too get CefSharp to auto resolve proxy settings. Chrome can do it. You can even change the proxy setting while Chrome is running and Chrome will react on it. I am using proxy-auto-detect. But it's not working Can anyone confirm that its…
Martin Andersen
  • 2,460
  • 2
  • 38
  • 66
0
votes
0 answers

internet properties - read configuration script path

I would like to read the value in the "Use automatic configuration script" Address field. I need to set the proxy for CefSharp like this settings.CefCommandLineArgs.Add("proxy-pac-url","proxy address"); I have tried different variations of…
Martin Andersen
  • 2,460
  • 2
  • 38
  • 66
0
votes
0 answers

CefSharp RegisterJsObject method throwing exception object already bound

I am working on WPF application and I am using CefSharp ChromiumWebBrowser. I am using below code to register browser object into ChromiumBrowser- browser.RegisterJsObject("bound1", new BoundObject()); But when I am opening multiple windows…
user3848036
  • 169
  • 2
  • 6
  • 17
0
votes
0 answers

GetQueuedCompletionStatus causes CPU spikes at timable scenarios?

The first spike is somewhat my own code, but the 2nd one highlighted is not and is seemingly from "KERNELBASE" (KERNELBASE!GetQueuedCompletionStatus) or libcef.dll (Chromium used with CEFSharp). As you can see, it spiked to 100% and STAYS 100%. It…
Ma Dude
  • 477
  • 1
  • 5
  • 17
0
votes
1 answer

CEFSharp - Post Data in LifespanHandler.OnBeforePopup

Version: CefSharp.WPF 63.0.3 from NuGet. I have a form that post it's data to _blank. Depending on the outcome of the process the response will be a PDF file or a html site showing an user friendly error message. I am able to download the pdf…
MBU
  • 3
  • 3
0
votes
1 answer

AngularJS - Listen for onclick events for all table

Is there a way to use angular.element(...).on('click', onTdClick); (for example) in a way that executes onTdClick (providing the element to it) on every that gets clicked? Let's say I have 2 tables, both have cells and columns. I want to be able to…
Ma Dude
  • 477
  • 1
  • 5
  • 17
0
votes
0 answers

Minimal Browser - HTML, CSS, JS or Wrapper?

I'm making a web app and need a web browser (a wrapper) in .NET. It will run inside a wrapper like a native browser for my app. My current goal is to make it as small as possible in size (maximum 30mb). Only features I need is html, css and js. No…