|
Rank: Member Groups: Member
Joined: 7/28/2014 Posts: 10
|
Hello,
i'm looking for a way to find all current opened webviews; is there any way to get a List<WebView> ? I have some WebView that doesn't close and we need to investigate why!
Regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Currently there is no way for you to do that through our interface. You will need to write code to track all WebViews that you have created. You can handle the WebView's Closed event to remove a WebView from your list to keep your list updated.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 133
|
Hello, It would be a cool feature, plus I suppose you already have something similar for the inspector/debugger.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Eurice wrote:Hello, It would be a cool feature, plus I suppose you already have something similar for the inspector/debugger.
Yes. EO.WebBrowser already supports remote debugging: http://www.essentialobjects.com/doc/6/advanced/remote_debug.aspxThanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 133
|
Sorry you didn't understood what I meant; I mean you probably already have a similar function wich list all active webview in the debugger; and it would be really cool to have a function like that.
We are facing a problem, some rundll32.exe remains even after calling webview.close() and we need to list all active webview in order to force-close them.
Regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Sorry about misunderstanding your question. The remote debugger feature is provided by Chrome's engine. We do not have any plan to introduce anything to track WebView since WebView is just an object for you to use, so it is generally the programmer's responsibility to track the number of WebViews, just a string object doesn't really keep track of how many strings you have. If you believe there is a problem with the WebView that's causing some rundll32.exe remains even if the WebView is closed, you can try to isolate the problem into a test project and send us the test project. We will be happy to take a look as soon as we receive that. Please see test project guideline here: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|