Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15605

[RESOLVED] How can I get a compound attribute in selenium+vb6?

$
0
0
When using ".GetAttribute()" method I can only use 1 single attribute name, it does not support for example (lastElementChild.innerText)
so I don't know how to formulate a method to get the same result.

For example, if it is to read the last message of a chat, you could simply use Innertext, but it would get all the dialogs and that would consume more resources than necessary.

I have switched to using selenium chrome because webbrowser is a bit obsolete for some pages, but without a doubt, using the document method was very simple and easy to work everything with js inputs.

Now in selenium it is a little different, the element paths are obtained from XPath and at least I don't know how to use JS path.

I need help with this, thanks!

Viewing all articles
Browse latest Browse all 15605

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>