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

c# Cefsharp chromium

I'm developing an application with an internal web server that displays html static pages in Chromium cefsharp. The pages have some tags within them, and then a buffer processing is made before passing it to the browser. the code that passes the…
Miky
  • 1
  • 1
0
votes
0 answers

How to refer to a particular IFrame when calling a C# method registered with RegisterJsObject from JavaScript

I want to be able to, given any random web page, tell a C# method in an object registered using RegisterJsObject to "select" a particular frame. What I mean by "selecting" a frame is to keep a reference to the corresponding IFrame so that all…
Juan
  • 15,274
  • 23
  • 105
  • 187
0
votes
1 answer

CefSharp application launch initialize problems

I have this code in my application to initialize CefSharp: If (CefSharp.Cef.IsInitialized = False) Then Dim settings As New CefSettings() settings.CachePath = Application.StartupPath & "\session" CefSharp.Cef.Initialize(settings) …
xhammer
  • 145
  • 2
  • 12
0
votes
0 answers

CefSharp: strange behaviour?

I am trying to create an application that uses CefSharp. The application changes proxies every 10 seconds using the code shown below. Cef.UIThreadTaskFactory.StartNew(delegate { var rc = _browser.GetBrowser().GetHost().RequestContext; var v…
Tim Vox
  • 19
  • 1
0
votes
2 answers

How can I send Client side browser events to Server

I want to send the browser events that can occur, onclick,onsubmit,etc.. to a server. How can I send the events occuring to the server? At least sending the event and the element it occured on is fine, as i will be having the same webpage loaded in…
theCrow
  • 176
  • 3
  • 13
0
votes
1 answer

how to delete partially downloaded file Using cefsharp winforms

I am using Cefsharp's DownloadHandler to implement a download functionality in WinForms. I am able to cancel the downloading file using callback.Cancel() method in OnDownloadUpdated() method. The problem is that the partially downloaded file is not…
0
votes
1 answer

cefsharp: The percentage of the ZoomLevel corresponds?

I have a WPF program with an embedded cefsharp browser kernel, and I want to zoom in and out. I checked the example of the website, using the zoomLevel attribute control, but without a definite percentage. When I want to set the percentage of 150%,…
Garry.Gu
  • 51
  • 6
0
votes
0 answers

Setting proxy in middle of application via CefSharp?

I am trying to add a proxy, I need to do this multiple times during the application. I use the below code to assign the setting at the start. CefSettings cfsettings = new CefSettings(); cfsettings.CefCommandLineArgs.Add("proxy-server", proxy.Key +…
Garry Fox
  • 9
  • 3
0
votes
1 answer

How to implement new tab in CefSharp with correct address and title change?

I am using CefSharp to create a browser. It is working, I can navigate to various websites by using new tab. But when I click on previous tabs, all the tab shows same URL in the address bar and all of them has exactly same title. Here is my code: …
Rubel Hosen
  • 199
  • 4
  • 20
0
votes
1 answer

Enable Flash plugin in WPF using CEFSharp

I'm developing a WPF application using Cefsharp. This web browser inside the app should show some flash contents. I found some forum where the users suggest to use papi flash or pepper flash for Cefsharp. I have no idea how to implement those plugin…
0
votes
1 answer

CEFSHARP Cannot using cef.shutdown in Windows Form

I run my cefsharp application using task scheduler on windows server. I have succeed exit with Application.exit(). But the status in task scheduler is still running not stopped. I think, it was happenned because I didn't use Cef.shutdown(). But in…
0
votes
1 answer

Using CEF, bing map shows current location first before showing the route

I am using Chromium Embedded Framework and CEF to show bing map in a windows application. we do pass origin, destination to the map using the waypoints, but upon loading the map, the current location of where we reside shows up first before drawing…
Mahsa
  • 115
  • 2
  • 11
0
votes
1 answer

WPF program fails to start when installed in target machine (CefSharp related)

I'm using CefSharp in my WPF application. Executing it from the Debug folder, and copying the entire folder to target machine works flawlessly. I made a setup project and selected to copy Primary output, but after installing the app crashes upon…
Vallo
  • 1,827
  • 2
  • 21
  • 42
0
votes
1 answer

Use MVVM Light EventToCommand on a cefSharp event

I've some issues: I've a web browser from cefSharp on which I'm trying to trigger a command on load: My command is currently empty: LoadedCommand = new RelayCommand(() => { }); The issue is that when the event is…
J4N
  • 19,480
  • 39
  • 187
  • 340
0
votes
0 answers

ChromiumWebBrowser does not exist in the namespace in WPF

I am inserting the chromium web browser (cef sharp) in WPF but it is showing error that ChromiumWebBrowser does not exist in the namespace although i have already added the namespace and already installed CefSharp.WPF from the NuGet manager.…