cefSharp Detecting page change Javscript

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.

cefSharp Detecting page change Javscript

Postby ZSSchulze » Tue Apr 18, 2017 10:48 am

I am having issues wrapping my head around how I can detect when a page has new content. Without the URL changing.

I have a webpage I load up that uses Javascript. I enter my login details and click submit. How can I detect when the javascript popup for asking if I want to remember my password comes up.
ZSSchulze
Newbie
 
Posts: 1
Joined: Tue Apr 18, 2017 10:37 am

Re: cefSharp Detecting page change Javscript

Postby magreenblatt » Tue Apr 18, 2017 1:45 pm

If it uses window.open() then it will create a separate CefBrowser and you can assign a client in OnBeforePopup. If it uses alert() then you can implement CefJSDialogHandler.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 41 guests