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
|
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!
|