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
1 answer

Catch Javascript mouse event in CEFSharp with VB.NET

I have a VB.NET Winforms application using CEFSharp and I am really very very happy with it. Currently I am able to inject JS code into a target site to e.g. trigger functions or set textbox values, on the site, etc. I also managed in the meantime…
Oscar Diez
  • 83
  • 1
  • 11
0
votes
0 answers

CefSharp ChromiumWebBrowser WPF first time slow startup

The users of my application should be able to (at runtime) add new control(s) containing a wpf:ChromiumWebBrowser But the first time its added it seems to take between 10-20 seconds for the WebBrowser to actually appear which is unacceptably slow.…
def
  • 1
  • 1
  • 3
0
votes
1 answer

Error "TrackStartError" in CefSharp-based application

I create a sipphone using CefSharp and WPF. Until some time everything worked, but today I got the error "TrackStartError", although I did not change anything in the code. I checked to see if this works in "CefSharp.MinimalExample.Wpf" and it does…
san-smith
  • 1
  • 1
0
votes
1 answer

Chromium/CefSharp touch events are not being fired

I have a model view in wpf application that hosts url using chromium version 41. The url is html page that has two text inputs and each text input has a directive (angular 1.5) that binds the 'touchstart' event to each input. When I open the Url in…
user3132295
  • 288
  • 4
  • 23
0
votes
1 answer

CefSharp browser .net behaves erratic when href link contains no target definition

I have a small .NET application using CefSharp browser. I am injecting some JavaScript with my application to read some values from the target site. This works really very nicely and I am very happy with it. Now I came across a strange problem and I…
Oscar Diez
  • 83
  • 1
  • 11
0
votes
2 answers

VB.NET application crashes before showing a form (only on some PC's)

I have a simple application using CEFSharp as a webbrowser. The application works great without any issues on the development PC and a few doczen other PC's is reported to work fine. However, there is 1-2 users out there with a Windows 10 (64bit)…
Oscar Diez
  • 83
  • 1
  • 11
0
votes
0 answers

CefSharp's PrintToPdfAsync not using external style sheets?

I'm using CefSharp (v63) to convert HTML-based reports (stored on the local file system) to PDF for portability via the PrintToPdfAsync method. Generally, this works exactly as intended and produces a faithful copy of the rendered HTML in PDF…
Jeff Godfrey
  • 718
  • 8
  • 18
0
votes
0 answers

CefSharp embedded browser on .net not rendering Google StreetView

I have a Vb.Net WinForm Application with Cef Browser embedded onto this. I use this browser to see Google Maps and Google Street View in the same app. Use the Cef Browser because the embedded IE Browser gives me headache with the compatibility with…
Guiman04
  • 723
  • 1
  • 6
  • 12
0
votes
0 answers

Program doesn't start after including CefSharp (only on a second PC or on someone else's)

It does start on my main that I made it on. I tested on Win7, my main is Wi10 and my friend also tested it on Win10. First, I got this error: Error that I'd recieved and then I read that it can be fixed by setting "Copy local" true in all of the…
STATESZ
  • 1
  • 3
0
votes
0 answers

cefsharp EvaluateScriptAsync does not return result count zero

I want to use the cefSharp deploy on my winform project, but when I use the EvaluateScriptAsync it does not return any results, any ideas? I refer in here and here they have not solved my problem. Here's my code: private void…
Naruto Lee
  • 41
  • 7
0
votes
0 answers

How to get html source synchronously to a textbox?

I have scanned the tag [cefsharp] and the question I am asking is present in similar forms (please reconsider the duplicate question action). I am unable to solve what I think should be a simple request. To get the html source of the page in the…
Valamas
  • 24,169
  • 25
  • 107
  • 177
0
votes
0 answers

After upgrading from CEFSharp 57 to 63 ChromeDriver "get" command does not block until the page load is complete

I am using selenium to navigate my CEFSharp browser. After upgrading my browser to use CEFSharp 63 the "get" command response before the browser load the page. So I cannot get the correct DOM from the response. This is happen also when there is no…
Shay
  • 1
0
votes
1 answer

Call a WinForm procedure from embedded Cefsharp browser

I am creating a WinForm app, which contains an embedded browser showing OSM map with the help of Leaflet framework. On the WinForm side there are charts, which have to be updated depending on user-selected marker on OSM map. The interaction between…
Ivaylo
  • 395
  • 4
  • 15
0
votes
0 answers

Cefsharp Oncontextmenucommand Get Menu Label

Alright so I have this code in my program to add menu items in context menu and perform action when they are clicked Private Sub IContextMenuHandler_OnBeforeContextMenu(browserControl As IWebBrowser, browser As IBrowser, frame As IFrame, parameters…
xhammer
  • 145
  • 2
  • 12
0
votes
0 answers

C# Form - Cefsharp get Data from Javascript

I wrote some Code in Visual Studio 2015 C# with the NuGet Extension Cefsharp. It let you implement a Chromium Browser for Forms. What I need is, to get some Data, from the Website the Browser is on. I want to read out a Tag and save the value in a…
user9424483