Questions tagged [cefsharp]
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
1,727
questions
0
votes
0
answers
14
views
Cookie Handling at Request and Response Level in CefSharp
How can we intersept (1) the outgoing request cookies present inside "Cookie" header item, and (2) incoming response cookies present inside "Set-Cookie" header item to add new, ...
0
votes
1
answer
27
views
Handle HEAD request with CefSharp
I am evaluating CefSharp to build a desktop application which basically only wraps a web application. To access files from the file system I want to intercept http requests of the web app.
I adapted ...
0
votes
1
answer
16
views
How to change 'CachePath' of RequestContext at runtime?
I looked it up everywhere on internet where I could not find how to find any code snippets for changing the 'CachePath' of RequestContext at runtime. I need this because I need to enable and disable ...
1
vote
3
answers
111
views
Pass C# float array to Javascript in CefSharp
I am developing in a WPF project and am using CefSharp.wpf to connect to my html/javascript script. The script is locally on my pc.
Currently, I have to convert my C# float array to a string, which ...
-1
votes
0
answers
18
views
Error while setting CefSharp proxy in vb.net
I'm having an issue setting up proxy settings for the CefSharp browser. I'm using version 119.4.30.
I've heard that in the latest version the proxies have been changed, unfortunately I can't find ...
0
votes
0
answers
41
views
Is it possible to delete specific pages from the CEF cache?
Consider this scenario:
in Search mode, the program performs a search for a given word in local html files and displays a list of links to the found files.
on click on a link, the file is read to ...
0
votes
1
answer
38
views
CEFSharp support for ECMAScript 2020 (ES 11)
we use the CEFSharp browser for our application.
One of our client pages that we connect with is now using ECMAScript 2020 (ES 11), and our version of CEFSharp does not support it.
My research has ...
0
votes
0
answers
32
views
CefSharp ppapi plugin process crashed
The configuration of my project;
CefSharp version : 75.0.3770.100
PepFlashPlayer version : 32.0.0.371
.NET 4.0.30319
The application randomly crashes, displaying a blank flash image.
Here is the ...
0
votes
1
answer
62
views
Using Devexpress Ribbonform With Cefsharp Browser Resizes The Window To Smaller Size
I recently created a simple ribbonform app using devexpress winforms controls. Just see the images to understand what is happening. Everytime cef.initialize is called the window resizes and becomes ...
0
votes
1
answer
324
views
CefSharp Wpf WARNING:policy_logger.cc: Could not create policy manager as CBCM is not enabled
I am creating a WPF Console app using CefSharp and more specifically a ChromiumWebBrowser in my MainWindow's XAML. During the InitializeComponent() I am receiving the following message
"[1106/...
0
votes
0
answers
16
views
Can "e.Frame.Url" under "FrameLoadEnd" be different?
Is it possible for "e.Frame.Url" available under "FrameLoadEnd" can be different from "e.Frame.Url" under "FrameLoadStart" event?
0
votes
0
answers
14
views
Should I call browser.Stop(); before calling browser.Load("url") function if browser.IsLoading == true?
While browser is loading a page initiated via JavaScript or user action, if I want to automatically load a new web page, should I call browser.Stop() before calling browser.Load("url") ...
0
votes
1
answer
20
views
How to set multiple request flags under OnBeforeResourceLoad event
I am intending to set multiple request related flags available under CefSharp OnBeforeResourceLoad event but I could not find a syntax to do that. Please help.
0
votes
0
answers
52
views
Accessing navigator.mediaDevices in CefSharp in Desktop WPF App
I have desktop app developed using WPF, .Net 7.0,CefSharp.Wpf version="117.2.40".
I would like to render html(local file) which has option to start the camera.
<script>
const ...
1
vote
1
answer
37
views
winhttp-proxy-resolver command line switch not working in CefSharp
CEF supports the command line chromium switch "--winhttp-proxy-resolver" which automatically fetches the PAC script configuration from Windows proxy settings and resolves the proxy server ...
0
votes
0
answers
13
views
What does browser.Stop() does differently from browser.StopLoad() in CefSharp?
I want to stop the browser and all its activity like rendering, loading resource requests, etc. so I need to know what browser.Stop() does apart from browser.StopLoad() in CefSharp
0
votes
0
answers
22
views
Unwanted CefSharp related files in a Nuget Package
We have a NuGet project that consumes CefSharp. We recently upgraded CefSharp from 49.0.1 to 117.2.40 and noticed the project went from 105KB to 230MB in size when we packaged it into NuGet. We ...
0
votes
0
answers
22
views
How to implement prevent redirect feature using CefSharp?
Trying to build a website crawler that needs to have a feature to prevent following redirects.
Is using browser.Stop() or browser.StopLoad() the right approach for preventing redirects or is there a ...
0
votes
0
answers
38
views
How to use Javascript to expand Google PAA section?
I want to get the questions and answers from People Also Ask section of google using javascript (but inside a vb.net cefsharp browser using executequery). The section needs to be clicked to be ...
0
votes
0
answers
26
views
What is the CefSharp alternative of Cef3 CefURLRequest function
I am trying to implement CefURLRequest function outside the CefSharp browser instance for making additional API requests to fetch dependent data.
I searched everywhere for CefURLRequest implementation ...
0
votes
0
answers
33
views
Can I send CefSharp LoadRequest without Frame Rendering
Can we make LoadRequest call which does not render frame just like a typical XHR or Fetch request for the purpose of getting some remote json and submit it on already/previously loaded main frame form?...
0
votes
0
answers
43
views
Why calling of Wait() of async function suspends my application, but if I use await all work good?
I have desktop application and I use cefsharp webbrowser
When I call: chromiubwebbrowser.EvaluateScriptAsync().Wait() - it suspends my application.
But if I call await chromiubwebbrowser....
0
votes
0
answers
32
views
How to set up proxy with authentification in CefSharp chromiumwebbrowser?
I use CefSharp and https/socks proxy with login/password.
How can I set up proxy with authtentification for each instance of chromiumwebbrowser?
Now I'm using this code for setting proxy without auth.
...
2
votes
0
answers
54
views
CefSharp 117.2.40.0 when used in VB6 MDI child, renders locked grey screen when restoring minimized window
I'm using the WinForms package v117.2.40 in a .Net WinForms user control. I've got the control working in an existing VB6 app with late binding, I can redirect to new URLs no issue. I can use the ...
0
votes
0
answers
41
views
How to disable mouse cursor change on cefSharp v117.2.40?
I am using cefSharp v117.2.40 and looking at some examples to control mouse cursor changes.
To handle mouse cursor changes, cefSharp v51.0.0.0 uses the MouseCursorChangeDisabled method as follows:
...
0
votes
0
answers
49
views
Does Cefsharp.common vulnerability also affects Cef.sdk
I see this vulnerability, affecting libwebp library
https://security.snyk.io/vuln/SNYK-DOTNET-CEFSHARPCOMMON-5936337
Is this also affecting cef.sdk NuGet? - I can't see any GitHub security advise for ...
0
votes
0
answers
34
views
CEFSharp Ofscreen and standard WPF browser in same app
I need to use CEFSharp offscreen and standard Browser inside the same application... but I'm facing issue in initialization. I'm using something like that:
OffScreenBrowser = new biCefBrowser(true);
...
-2
votes
1
answer
80
views
C# cefsharp host-resolver-rules parameter does not work (skip)
private void startAsync()
{
Cef.UIThreadTaskFactory.StartNew(delegate
{
try
{
// Create a new RequestContext for the new form
RequestContext ...
0
votes
0
answers
83
views
CEFSharp v109.1.11 .Net 4.6.2
implementing CefSharp 109. Using this version as we have to support some older Win 7 & Win 2008 Server(R2) boxes.
Scenario...
User 1 logs into Win 2008(R2) server and executes our CefSharp enabled ...
0
votes
0
answers
40
views
How to store full web page (HTML + CSS) with CefSharp?
I want to store the visited web pages in memory, to replay them again in the same order but the css is not taken into account on some web sites and the web pages replayed are so ugly compared to the ...
0
votes
0
answers
50
views
Leafet map & VB.net
I am having extended issues trying to plot a route from waypoints on a map loaded from an xml file containing pos lats and longs. The leaflet map loads as expected and plots the waypoints with markers ...
0
votes
1
answer
19
views
CefSharp html loaded exceeds 2097152 characters
I am using CefSharp in winform to show an html page, where I have some data to pass and show. here is the code:
private CefSharp.WinForms.ChromiumWebBrowser chromiumWebBrowser1;
string html = Utils....
0
votes
1
answer
27
views
cefsharp DownloadUrlAsync skips Cookie
load url in browser control that require cookie and authentiacaion is ok
CefSharp.OffScreen.ChromiumWebBrowser browser = new CefSharp.OffScreen.ChromiumWebBrowser(Url, requestContext: reqContext);
...
0
votes
0
answers
41
views
cefsharp object dispose after form close
cefsharp initialized in main form named "browser" and added to panel
ChromiumWebBrowser browser = new ChromiumWebBrowser("https://www.google.com");
browser.Dock = ...
0
votes
0
answers
34
views
How get CefSharp referrer to work with pximg.net in LoadRequest?
How does LoadUrl and LoadRequest really work together? I'm trying to load a Pixiv picture directly by using LoadRequest to be a ble to set the correct referrer information. But I seem to miss ...
0
votes
2
answers
55
views
How to open different pages in the same window by vb.net CefSharp
I create control ChromiumWebBrowser1 in form1.and i open link www.baidu.com page in ChromiumWebBrowser1.
now i find many more links in page page.I click these links again,
unfortunately These web ...
1
vote
2
answers
77
views
Using the properties of a System.EventArgs in C#
I have an application which was using a System.Windows.Forms.WebBrowser to enable users to navigate to a web page in order to allow an OAuth2 autentication to take place. This works for one ...
0
votes
0
answers
45
views
Rename or hide CefSharp.WinForms.dll in C# or VB.NET
how are you my friends
I apologize for my average english
I'm building a browser that works with Cefsharp, and I have a need and need to rename the library CefSharp.WinForms.dll, even if I have to re-...
0
votes
1
answer
44
views
Angular draging not working inside wpf app
I have windows 10, 64 bit and I was trying to run angular app inside my wpf application.
Page seams to render fine ,but when i try to use basic dragging (and draging related functions) it's only works ...
0
votes
1
answer
56
views
How to modify the title of remote debug url in CefSharp?
I made a browser using cefsharp in winform, the browser will show different content based on user's configuration. When open remote debug(http://localhost:9999), the url link always show the title ...
2
votes
2
answers
168
views
CefSharp with WPF MVVM
I am using CefSharp WPF control in my project with MVVM pattern. I have tried to show external URL inside Chromium browser. I have used LoadingStateChanged event to track the page load event inside ...
0
votes
0
answers
49
views
CefSharp links that open specific application doesnt work
CefSharp links that open specific application doesnt work
Im trying to make my winform web browser be able to open specific applications like on roblox or other websites that run specific application
...
-1
votes
1
answer
337
views
Cefsharp chromium browser v121 throws error on Windows 2012 R2
In my windows application I'm using Cefsharp ChromiumWebBrowser control version 121. I can successfully load a URL if I run the application on Windows 10 OS but with same set of dll's copied onto ...
0
votes
1
answer
465
views
how to set --allow-file-access-from-files to cefsharp wpf?
i would test Cefsharp, but i dont see where to set --allow-file-access-from-files
i have tried
<Window x:Class="Chromium.MainWindow"
xmlns:cef="clr-namespace:CefSharp.Wpf;...
0
votes
1
answer
212
views
CefSharp rendering issues
I'm having issues at a customer with CefSharp rendering.
We also tried with the CefSharp.MinimalExample.Wpf.net472 without any changes.
The problem we are having is that the website is not rendering ...
0
votes
0
answers
55
views
C# Cefsharp Winforms doesnt read already saved cache
In my winforms, The browser executes a game through facebook. I have enabled to store cache in the localapplicationpath but for some reason it does not read that there is already cached files there. ...
-1
votes
2
answers
329
views
How to load chrome's default profile when using Chrome Cef browser
I am new to c# browser based on Chromium; the browser itself works but what I am wanting is for the browser to not start in Incognito mode every time a user launches the browser. I have attempted to ...
0
votes
0
answers
43
views
How to get Initiator Chain in CefSharp?
I am trying to retrieve the request initiator chain with CEF, the same one you see in the browser's developer tools - when you go to Network and then click on Initiator tab, but I cannot find this ...
0
votes
1
answer
191
views
How can I detect that a Popup window is a PrintDialog in Cefsharp?
I want to know how I can detect that a Popup window is a PrintDialog in Cefsharp. Right now I have this condition in the if clause, but it doesn't detect that the Popup is a PrintDialog. I don't know ...
0
votes
1
answer
478
views
Is there any alternative to cefsharp in C#? The latest version and cefsharp compiled by me and compiled by others cannot play mp4 video
I want to play a video file with a browser core that supports winforms. I am using google's cefsharp here. Due to the copyright issue of mp4 files, Google does not provide mp4 playback rights for open ...