Questions tagged [cefsharp.offscreen]

61 questions
0
votes
0 answers

CefSharp 'CanExecuteJavascriptInMainFrame' false after page loaded async

I found error while using LoadPageAsync Method. All code to reproduce is below. 1) Wait while new ChromiumWebBrowser("https://www.google.com/") page loaded. 2) then press button1. Result: canExecuteJs will be false while canExecuteJs1 will be…
ovasylenko
  • 2,635
  • 4
  • 17
  • 29
0
votes
0 answers

How to get remote debugging URL of specific ChromiumWebBrowser instance in CefSharp?

Goal I am trying to get remote debugging URL of specific ChromiumWebBrowser object after initializing it with new ChromiumWebBrowser(...) Application Info My application creates multiple ChromiumWebBrowser worker instances at runtime, the number…
yildizmehmet
  • 53
  • 1
  • 8
0
votes
2 answers

CefSharp winfoms Page load and wait

I'm working on Cefsharp Offscreen in my application. The code provided in documentation to load page is: const string testUrl = "https://github.com/cefsharp/CefSharp/wiki/Quick-Start"; var settings = new CefSettings() { //By default…
skhurams
  • 2,133
  • 7
  • 45
  • 82
0
votes
0 answers

General question about cefsharp running processes

I am upgrading my application from CefSharp 53 to the current CefSharp 73. (I know, super behind). I specifically use the CefSharp.OffScreen.ChromiumWebBrowser and one thing I noticed is there are now two CefSharp.BrowserSubprocess.exe processes…
0
votes
0 answers

Register for button events using cefsharp [chromium web browser engine]

I want to know when ever any user clicks on a particular button, presently i am able to get the events such as whenever user clicks on anywhere on window by using this public void OnFrameLoadEnd(object sender, FrameLoadEndEventArgs e) { if…
Ravi Kanth
  • 1,182
  • 13
  • 38
0
votes
1 answer

How to reference CefSharp inside Azure function?

I created two projects: the first is a typical HTTP triggered Azure function and the second is just a sample of CefSharp.MinimalExample.OffScreen app. Azure function references CefSharp proj for screenshot-making purposes. This referencing works…
Trinitron
  • 374
  • 3
  • 12
0
votes
0 answers

CefSharp won't load HTML

I know this has been asked a number of different times before, but none of the solutions suggested there have worked. I'm trying to give cefsharp custom html in the most recent release of cefsharp/offscreen via nuget. Here's a sample of the code: …
gnnop
  • 11
  • 2
0
votes
1 answer

How disable sound in Cefsharp Offscreen

How disable sound in Cefsharp Offscreen. In the official documentation did not find this information. A sound when the browser is annoying because like no program is open and there are alerts and other sounds.
0
votes
0 answers

Cef can only be initialized once. Use Cef.IsInitialized to guard against this exception

I am trying to code an application that will launch several different browser, each with a different proxy, so I use Cef.Initialize to give a different proxy to each of my browser, but here I get this error and am not sure what I am doing…
0
votes
0 answers

Session and JavaScript Object in CefSharp Library

Currently, I am working in a WPF application where we are using Awesomium tool to add web-browser but as that is already outdated we are trying to shift from Awesomium library to CefSharp library (Using CefSharpe and CefSharp.wpf Library). At the…
Babu
  • 440
  • 5
  • 23
0
votes
0 answers

CefSharp offscreen with .net core 2.0 Runtime Error , System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp.Core,

I am getting this error System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp.Core, Version=63.0.3.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138'. The system cannot find the file specified.' I am trying to run the…
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'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 Offscreen EvaluateScriptAsync

I was using Cefsharp Winforms, and recently I've been trying to switch to Offscreen. Everything works just fine, except now my code doesn't wait for EvaluateScriptAsync to complete before returns the page's source. Or maybe I am just not quite…
YSFKBDY
  • 735
  • 1
  • 12
  • 38
0
votes
1 answer

Exception While using cefsharp in asp.net Project

im trying to use CEF in Code Behind in asp.net Project the problem is it keeps Giving This Error Could not load file or assembly 'CefSharp.BrowserSubprocess.Core.DLL' or one of its dependencies. The specified module could not be found. even I…