Using CefSharp.WinForms.ChromiumWebBrowser

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Using CefSharp.WinForms.ChromiumWebBrowser

Postby HaBe1963 » Mon Nov 15, 2021 2:22 am

I'm trying to connect to a dynamic trollbox website ("https://trollbox.poloniex.com/index.html") with a CefSharp.WinForms.ChromiumWebBrowser. Connecting does work, however returning a white/blanc page.
Loading the url in a Chrome browser works, but if I disable Javascript in the Chrome browser (Developer tools/CTR+SHFT+P) it seem to return the same as my CefSharp.WinForms.ChromiumWebBrowser.
Could it be that in the CefSharp.WinForms.ChromiumWebBrowser JavaScript is disabled by default and need to be enabled somehow?
HaBe1963
Newbie
 
Posts: 2
Joined: Mon Nov 15, 2021 2:05 am

Re: Using CefSharp.WinForms.ChromiumWebBrowser

Postby amaitland » Mon Nov 15, 2021 2:25 pm

JavaScript is enabled by default in CefSharp. Do other websites load? E.g google.com

Try testing your website using the minimum example.

https://github.com/cefsharp/CefSharp.MinimalExample

You can check the log file for errors.

https://github.com/cefsharp/CefSharp/wi ... g#log-file
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am

Re: Using CefSharp.WinForms.ChromiumWebBrowser

Postby HaBe1963 » Mon Nov 15, 2021 3:34 pm

Hi Amaitland, yep, did try the Minimum example as well. Unfortunately same result (blanc screen.
log file doesn't show any errors, other website do load.

I'm a bit stuck right now
HaBe1963
Newbie
 
Posts: 2
Joined: Mon Nov 15, 2021 2:05 am

Re: Using CefSharp.WinForms.ChromiumWebBrowser

Postby amaitland » Mon Nov 15, 2021 3:50 pm

Check in DevTools for errors.

https://github.com/cefsharp/CefSharp/wi ... -debugging

Might be that the website is attempting to use a feature that's not implemented in CEF.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 12 guests