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

Emulate key press in browser

Is there any way to emulate a key press in the CefSharp browser. I've had a look through the documentation but couldn't find anything.
David Wheatley
  • 426
  • 6
  • 16
0
votes
2 answers

Cefsharp LoadHtml throwing 'string too long'

I have been using loadhtml for some time now and its working fine for the simple thing I was using it for. However, I recently started including images in my HTML in form of base64 and loadhtml doesn't like that and throughs string too long…
et3rnal
  • 322
  • 4
  • 17
0
votes
1 answer

Absolute URL of a webpage with CefSharp?

I am currently working on a Windows Forms project in C# using Visual Studio. Recently, I switched the default browser in VS to CefSharp's chromium browser as it better suited my needs. While fixing my code, I was unable to figure out how to get the…
user8979630
0
votes
0 answers

How do I add a host file to my program

Hi I would like to know if there is a way to add a standalone host file into my visual basic project that is only used by the program that I'm trying to make. I want to make a webbrowser that only shows YouTube.com. I already have the…
Nicci
  • 1
  • 4
0
votes
1 answer

Checking for html elements in CefSharp

Hello I'm looking to check for an element within an html document within a CefSharp browser. CefSharp is an embeded, full-featured standards-complaint web browser for C# / .NET website here Previously, You where able to check for html element ID's…
John Kens
  • 33
  • 1
  • 7
0
votes
2 answers

WPF starting a new Winform Cefsharp

I've been working in WPF and trying to start a Winform from that area. The only solution is to open it as a ShowDialog(). Is this a bug or can we expect any problems in the future? my other program is located in the same solution, but not the same…
0
votes
0 answers

Upgarding CefSharp from 49.0.1 to 57.0.0

The chromium browser was working perfectly in CefSharp 49.0.1 and .NET 4.5. As we moved to .NET 4.6.1 I decided to upgrade CefSharp. I tried v55.0.0 and v57.0.0. But nothing is shown in the browser... What is missing here?
0
votes
1 answer

WiX installer project: CefSharp.Core.dll could not be loaded, file not found

I am working on a windows application on c# visual studio, i have set up a WiX project for the installer and have added CefSharp, CefSharp.Core, CefSharp.Wpf references to it also. However, upon building, it throws an error that the…
Suhaib Ahmad
  • 487
  • 6
  • 25
0
votes
0 answers

Cefsharp DevTools - zoom in

I am trying to zoom the devtools window. I know how to zoom the browser window itself, but I am unable to zoom in the devtools. changing ZoomLevel does not effect the devtools window. EDIT: ctrl +/- does not work. thanks
0
votes
1 answer

Cefsharp webbrowser send input

I want to be able to simulate a click or keyboard input to a web element in my cefsharp (chromium) webbrowser. Lets say I want to type "stack overflow," for instance, into the google searchbox. I want to be able to simulate that keyboard input into…
WilkyRL
  • 35
  • 1
  • 11
0
votes
0 answers

Microsoft Owin AppBuilder.Use method not being called

I have a browser hosted in a Windows form using CefSharp that no longer fires the Owin AppBuilder.Use method. I am self-hosting Web API. This code was working fine, but just stopped working and there are no exceptions being thrown. The error in the…
GamerDev
  • 2,006
  • 4
  • 24
  • 31
0
votes
1 answer

CefSharp NuGet package, AnyCPU cannot find files

I am currently trying to write a small service, which uses CefSharp (v57.0.0) to render HTML to a PDF file and followed the instructions to use "Any CPU" in my project (Feature Request - Add AnyCPU Support). In my project I used the following…
Octoate
  • 459
  • 1
  • 6
  • 18
0
votes
1 answer

Is there analog to event WebBrowser.Navigating in CefSharp library?

I need to call event when I click on downloading button on the site and get downloading link immediately. I know how it works with WebBrowser: private void WebBrowser_Navigating(object sender, NavigatingCancelEventArgs e) { string url =…
0
votes
0 answers

Website returns 482 invalid cookie

After I load a url with the browser, I'm sending a request follows: var frame = browser.GetMainFrame(); var request = frame.CreateRequest(); request.Url = "urlhere"; request.Method = "PUT"; NameValueCollection headers = new…
Ivan-Mark Debono
  • 15,500
  • 29
  • 132
  • 263
0
votes
1 answer

Application hangs when adding a control to a tabview page

I've been making an application in C#. It was working until recently where I decided to place the InitialiseChromium() void in another class, to find I couldn't add controls to the mdtTab TabPage. So, I undid my changes, but now my app hangs at…
user4838695