Questions tagged [cefglue]

CefGlue is a .NET binding for The Chromium Embedded Framework (CEF)

CefGlue is a .NET binding for The Chromium Embedded Framework (CEF). CefGlue uses P/Invoke to call into the CEF unmanaged code.

45 questions
8
votes
4 answers

how to change user agent in chromium embedded framework in c#?

Please help me changing user agent of chromium embedded framework in visual c#. It uses default chromium agent but i want to change it to use my browser name instead.
user3463182
  • 81
  • 1
  • 1
  • 2
5
votes
1 answer

React on Visual Studio Stop

Is there the possibility to run some code when the Code is stopped when running it from Visual Studio? I am using the CefGlue library to build a WinForms application and realized that there are issues when pressing the stop button ranging from…
Sjoerd222888
  • 3,228
  • 3
  • 31
  • 64
5
votes
1 answer

CefGlue silent printing to PDF

I have latests CefGlue version (3.2272.2035) I need to save current page as PDF. I'd like to interact with my CEF somehow (JS/C#) and make it create PDF for me. I've tried to use javascript.window.print() for that purpose with no success, because,…
kravasb
  • 696
  • 5
  • 16
4
votes
1 answer

Is it possible for a process to load two dll with same name but different versions?

I posted this question two days ago in Microsoft Community. I got some good ideas and did some experiments, but still failed. For more help, I decide to post this question here. (The original post: Is it possible for a process to load two dll with…
Lucas
  • 222
  • 3
  • 9
3
votes
0 answers

Is "Running without renderer sandbox" an error?

On Windows 7, I started a C# browser offscreen application project. I'm using latest versions of the Xilium.CefGlue(xilium-xilium.cefglue-3caa551bd830) Cef binary (cef_binary_3.2171.2039_windows32). I do this CEF settings var cefSettings = new…
LeMoussel
  • 5,290
  • 12
  • 69
  • 122
3
votes
0 answers

API mismatch setting up CefGlue

I tried to setup CefGlue for using the Cef webbrowser control in c# with mono. I tried all the combination between CefGlue and Cef version but I still have a Cef API mismatch. This is the CefGlue version :…
Valentino
  • 59
  • 1
  • 11
3
votes
1 answer

CefGlue detect evenfint listeners with CefDomVisitor

If I use CEFGlue CefDomVisitor class I can navigate around the DOM. Great, really useful and good job by the developers Is there any way to pick up what event listeners are associated with a Tag? Essentially id like to pick up the javascript that…
Ron Weston
  • 280
  • 2
  • 16
3
votes
2 answers

Xilium CefGlue Async Javascript to native C# with parameters and return values?

I have been experimenting with CEFGlue in C# recently particularly from the JS>Native integration. I have tried 3 approaches but none seems to be appropriate. Through XHR and Custom SchemeHandler - generally great but seems to blocks both the…
Moonwalker
  • 3,462
  • 4
  • 25
  • 31
2
votes
0 answers

How to fix 'Failed to launch GPU process' [.NET CORE / Chromely]

I'm trying to setup a new application using .NET CORE and Chromely CefGlue. When I build my app, I'm getting a blank page and logging some errors (see bellow) I'm using Chromely.CefGlue.Winapi nugget package version 68, setting up my application in…
2
votes
0 answers

Execute JavaScript code and get the object and/or array result from Xilium.CefGlue

I am using CefGlue to execute JavaScript code against a browser. if (browser.GetMainFrame().V8Context.TryEval(script, out returnValue, out ex)) { if (returnValue != null) { SetClientValuetFromV8Value(returnValue, result); …
Mihail Shishkov
  • 14,129
  • 7
  • 48
  • 59
2
votes
1 answer

CefGlue Running Examples on Linux

I've downloaded the latest version of CefGlue as well as the corresponding CEF binaries. I can get the demo examples to run fine in Windows, but the Linux GtkSharp demo does not run. It compiles fine under MonoDevelop on my Linux box but throws a…
Jon
  • 703
  • 3
  • 15
  • 34
2
votes
2 answers

CEF 3 workaround missing features

I'm building an application that is using CEF 3 (version 1650) in WPF (meaning I'm using OSR mode) using Xilium.CefGlue as a wrapper. After a lot of research I've found several features I can't get to work nor workaround: Focus Management - I need…
Itai Bar-Haim
  • 1,686
  • 16
  • 40
1
vote
0 answers

How to test login to google account using CEF + OAuth2?

I have already asked this question on CEF Forum https://www.magpcss.org/ceforum/viewtopic.php?f=10&t=18006. But unfortunately still haven't received an answer to my question. According to the…
1
vote
1 answer

LibCef Files not included with .net core publish

I have a Microsoft.AspNetCore.App (2.1) project using During build chromelycef downloads required binaries to the…
Manfred Wippel
  • 1,946
  • 1
  • 15
  • 14
1
vote
0 answers

Chromium embedded within WPF app with webdriver attached

I have quite unusual problem. I would like to embed Chromium inside WPF desktop app in a way that it has webdriver attached to is so I can execute operations from selenium against that embedded browser from the same application. In other words, I…
Midi
  • 459
  • 1
  • 5
  • 19
1
2 3