Welcome Guest Search | Active Topics | Sign In | Register

Any way to get more info for EO.Webbrowser JSDialog Options
David Robinson
Posted: Sunday, November 5, 2017 8:16:54 PM
Rank: Advanced Member
Groups: Member

Joined: 4/6/2015
Posts: 33
It would be really nice to be able to find out where the alert, confirm, etc. occurred in the Javascript code.
Is there any way to find this out from .NET?
Thanks
David
eo_support
Posted: Monday, November 6, 2017 3:13:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

No. That information is not available in JSDialog event. The only event that would give you the location of the message is WebView.ConsoleMessage event. So you may want to modify your code to use console.log instead. That will trigger ConsoleMessage event and the event arguments will give you the file name and line number information.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.