console.log makes page got stcuk and can not load new url

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.

console.log makes page got stcuk and can not load new url

Postby robinyeeh » Mon Jan 25, 2021 8:26 am

I m using cef to render h5 and save as video, and also i m using zmq to communicate between cef app and my backend app using python. Once cef got zmq message with url from python app, then using LoadUrl to control url input instead of human behavior.

All goes fine if the page has console.log or alert, then i tried to send new url and call LoadUrl func but nothing happens, i tried others and got same result.

Seems the page got stuck, then i printed the logs with "browser_->GetMainFrame()->GetURL()", the url is always the one with console.log.

Could anyone help on this? Thanks a lot.
robinyeeh
Newbie
 
Posts: 1
Joined: Mon Jan 25, 2021 8:13 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 33 guests