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

How to use YouTube API in a Windows Form for CefSharp Browser

I am trying to make a web browser in CefSharp. I am also trying to make it have a web blocker for YouTube content, mostly for learning purposes on how the YouTube API works. Since there is so little documentation on the API for C#, I am confused on…
0
votes
0 answers

C# CefSharp Blank Page

I am trying to learn how to use CefSharp as a browser in c# (unless anyone can suggest any better alternatives). Initially I set the configuration to Any CPU (and edited the .csproj and app.config) , but the browser didn't display any content,…
Al_103
  • 1
  • 1
  • 1
0
votes
0 answers

Empty input when submit

When I try to submit form in ChromiumWebBrowser (CefSharp c# winforms) using this simple code: browser.EvaluateScriptAsync("document.getElementsByName('username')[0].value = '" + login + "';"); …
S.Wael
  • 1
  • 1
  • 1
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

Why CEF browser exe count is not inceasing per browser?

When I open 1 cef browser, number of cef browser exe instance is 1. When I open 2 cef browser, number of cef browser exe instance is 2. When I open 3 cef browser, number of cef browser exe instance is 3. When I open more than 3 cef browsers, number…
ranjit powar
  • 104
  • 2
  • 2
  • 10
0
votes
0 answers

cefsharp sometimes overlooked js update and will still go to the cache

my problems cefsharp sometimes overlooked js update and will still go to the cache. I observed that the site has not been updated for some time, modify js will have this problem. my environment win10+vs2015+winforms+cefsharp49 my Configure the…
0
votes
3 answers

Proxy for only one browser with CefSharp Offscreen

I am trying to set a proxy for a ChromiumWebBrowser() without changing the settings of other browsers. My code looks like this : CEF initialization Here I will initialize CefSharp and call the method that will test to set the proxy public…
samuel guedon
  • 575
  • 1
  • 7
  • 21
0
votes
0 answers

cefsharp c# winforms wont refresh

I'm trying out C# WinForms with CefSharp (installed via Nuget (VS 2017)) but I can't get the refresh button to do anything. I've tried different variations, but nothing. I have effectively two browsers, one to our epos and one to our local system. …
0
votes
0 answers

How to change the default webcam in CEF Sharp?

Computer has two webcams. How to tell to CEFsharp from which camera start recording? How to switch cameras via C# on the fly? My case is to chage default camera for Hangouts chatting in CEFsharp browser in WPF project. I tried to search some info on…
0
votes
0 answers

Enabling overlay-scrollbar in CefSharp

Any idea how to enable overlay scrollbars in CefSharp/Winforms? My goal is to hide or make narrower the vertical scrollbar for use with a touch screen. I tried using (both stable v57 and preview v63) these command line…
Miha Markic
  • 3,158
  • 22
  • 28
0
votes
1 answer

CefCharp causing program termination to halt

My program has decided to stop terminating when it is done. The program is spawned by a service, The Main() function calls some external classes I created which make some PDFs and then terminates with a Return. There are no forms, no UI. This has…
Brad Mathews
  • 1,567
  • 2
  • 23
  • 45
0
votes
1 answer

Global uncaught exception handler

I have a program with some DLL-extensions, that are loaded at runtime. The frontend is a CefSharp in a WinForms. But the program is already that big, uses some other 3rd party code parts (where I'm not able to take care of) and this program has to…
Horitsu
  • 272
  • 3
  • 12
0
votes
0 answers

ChromiumWebBrowser.IsLoaded is not available

Below is my code extract relative to the problem using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using…
Neo
  • 755
  • 1
  • 10
  • 24
0
votes
0 answers

VB.NET CEFSharp - OnBeforePopup

I have been trying for days now to find a solution for my problem. I think the problem is simple but it won't work on my end and I'm not the best-experienced developer around the world. So Im using VB.net with CEFSharp and want to deactivate my…
Niklas H.
  • 1
  • 2
0
votes
1 answer

How to remove request header from chromium browser c#?

I have implemented a chromium browser in Windows Form but its showing the request header I have already tried many solutions but it didn't work. Please suggest me the solution to remove it. Thanks in advance. Following header I am getting in…