Access

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Access

Postby rsharma07 » Mon Sep 13, 2021 7:21 am

Hi All, i am not able to load chrome URL "chrome://inspect/" inside cefclient.exe , how can i do it?

Error:
Code: Select all
Page failed to load.
URL: chrome://inspect/
Error: ERR_INVALID_URL (-300)
ERR_INVALID_URL


Thank you,
rsharma07
Techie
 
Posts: 17
Joined: Wed Oct 21, 2020 4:12 am

Re: Access

Postby magreenblatt » Mon Sep 13, 2021 8:06 am

This is only supported with the Chrome runtime ("cefclient --enable-chrome-runtime").
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Access

Postby rsharma07 » Wed Sep 15, 2021 2:52 am

Thank you @magreenblatt

Now, i am able to enable chrome://inspect in cefclient, but not in my application. I am working on a CEF-based embedded browser application, here i am giving a commandLine agrs inside OnBeforeCommandLineProcessing method, still not able to enable chrome inspect inside my application.

Command Line Args
Code: Select all
command_line->AppendSwitch("enable-chrome-runtime");


May you help me?
rsharma07
Techie
 
Posts: 17
Joined: Wed Oct 21, 2020 4:12 am

Re: Access

Postby magreenblatt » Wed Sep 15, 2021 3:03 am

See https://bitbucket.org/chromiumembedded/cef/issues/2969. It will not work with all existing applications.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests