SimpleBrowserDotNet/SimpleBrowser

Click on HTML element

SeyoS opened this issue · 3 comments

SeyoS commented

It seems that the click on a HtmlElement (like div or li) is not working.
Is it implemented ? Is there a way to simulate it via JavaScript injection ?

It seems that the click on a HtmlElement (like div or li) is not working.
Is it implemented ?

No. SimpleBrowser does not support JavaScript. Without JavaScript, div and li do not have click handler functions. In HTML, div and li are not clickable elements.

Is there a way to simulate it via JavaScript injection ?

Yes. Whatever the JavaScipt does, you will have to do manually. Without knowing exactly what the JavaScript does, it's impossible to know for sure. Some of the common tasks performed by JavaScript are modifying the DOM and form submission - both of which are possible with SimpleBrowser.

@SeyoS Do you need further assistance with this issue? If so, I'm happy to help by looking at the JavaScript that you are working with. If not, since this isn't a problem with SimpleBrowser, I'll close the issue.

SeyoS commented

Sorry for the delay.
It's a rather big script so I'll try something else.

Thanks!