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

CefSharp VisitAllCookies always return no Cookies

I load a page in a CefSharp browser. I use my credentials to login, and then when logged in I try to visitallcookies but I always have 0. I tried both visitallcookies() and visitallcookiesasync(). Both does the same. I'm trying to log in to…
Alfakyn1
  • 83
  • 3
  • 12
0
votes
1 answer

CEFSharp Winforms calling controls on forms from Handlers

Not sure if what i'm trying to achieve is possible but i have am trying to create a custom downloaded bar in CefSharp winforms. I have created a control on my main form that i want to make visible after a files has been downloaded, the problem i…
Jason Wragg
  • 589
  • 2
  • 5
  • 19
0
votes
1 answer

CefSharp shows a blank page when run outside Visual Studio

I'm trying to create a C# class library which consists of a form with CefSharp WinForms browser inside it. The library is used by another application as a plugin. The application is set to run when pressing "start" in Visual Studio. Launching the…
Teemuki
  • 11
  • 5
0
votes
1 answer

EvaluateScriptAsync waiting in Cefsharp

I am having a problem about using EvaluateScriptAsync in Cefsharp. I want to run a javascript code with EvaluateScriptAsync and then, after this is completed I want my code continue to work, but ContinueWith isn't waiting to EvaluateScriptAsync…
YSFKBDY
  • 735
  • 1
  • 12
  • 38
0
votes
1 answer

extract links from web page on cefsharp

I'm working on an application to extract URLs from a web page, I'm using WebBrowser control we all know how bad is I wanna move to use cefsharp but I don't know much about it. this my code so far for extracting URLs that have "Http://" on it…
Elmissouri
  • 59
  • 1
  • 15
0
votes
0 answers

Render CefSharp Offscreen Control in WPF

I currently have the problem to display a OffScreen Control in a WPF context. I could use the WPF control given by cefsharp, but the problem is that the control only gets initialized when drawable (which is a problem). Rendering a image is no big…
Technostar
  • 171
  • 1
  • 5
0
votes
0 answers

CefSharp browser refreshes after it loses its parent

So, I have a ChromiumBrowser inside a Windows Form in VB.net. That form is atached to the "main" parent of the application. When the From is stripped from its parent, it becomes undocked and can be moved outside of the main form. But the moment the…
Lugaid13
  • 21
  • 5
0
votes
1 answer

CefSharp C# How would I get the link to the current website?

I'm using CefSharp for a little project me and my friend are working on, and we want to get the link to the current site, then put it into a TextBox, but we can't find any way to get the link of the site we are currently on.
0
votes
0 answers

Load iframe in CefSharp winform

In my winform app I load a webpage in a cefsharp browser. In the webpage there is an iframe which loads another webpage. In Chrome the iframe is loaded. In the app the iframe keeps blank. I can't seem to find the solution. I 've added a handler: …
Sven
  • 1
0
votes
0 answers

Detect Textbox is clicked in HTML Page using CEFSharp and get type of the HTML Control

We are working on application using CefSharp to browse Web Site which is not hosted on our server. We want to open the windows On Screen keyboard when any textbox control got focused or user click on textbox. Is there any way to track when html…
0
votes
1 answer

CEF or CefSharp always renders the first instance of an tag
We are having issues with the tag in chromium. In our web application we are pushing base64 content into the tag, and it renders the content as expected when using Chrome, but it's when we do this in cef/cefsharp that the issues happen. The…
bixarrio
  • 373
  • 1
  • 10
0
votes
1 answer

In CefSharp, how to disable proxy while the program is running

Now, I already know how to modify the network proxy. But i want to disable it, not modify it. Cef.UIThreadTaskFactory.StartNew(delegate { var rc = chromeBrowser.GetBrowser().GetHost().RequestContext; var v = new Dictionary
Mr.Query
  • 3
  • 3
0
votes
1 answer

CEF Browser issue with window forms application

Issue with login.live.com as I was working with the CEF Browser in my windows application when it comes login page it was working fine in local Visual studio, but after installing app using wix installer only login page showing like above…
0
votes
0 answers

Chromium CEFSharp connection issue

I've used CefSharp in my WPF application to connect to intranet website. The connection is OK but the web page is not completely loaded, if my PC doesn't have internet connection. But from "Chrome Broswer", everything is OK. If my PC has internet…
John Hpa
  • 463
  • 6
  • 18
0
votes
0 answers

CEFSHARP - passing c# class to javascript

I have this class setter and getter public class CallbackObjectForJs { public int _flag = 3 public int loopKe { set { _flag = value; } get { return _flag; } } } And, I already registered this class at the…