Open GoogleCodeExporter opened 8 years ago
First, your VBA syntax is incorrect. It should be like this:
ok = selenium.getText("//html/body/div[2]/div[2]/div[2]/div/div/div/div[" & i &
"]")
Second, I recommend you to use a CSS selector rather than an XPath and to
search all the web elements in one command for better performance. I would do
something like this :
Dim methods As WebElementCollection
Set methods = selenium.findElementsByCssSelector("div.section.steps")
For i = 0 To methods.Count - 1
MsgBox methods(i).Text
Next
Original comment by florentbr
on 1 Jan 2014 at 11:45
Original comment by florentbr
on 8 Sep 2014 at 5:40
Original issue reported on code.google.com by
shan4sha...@gmail.com
on 30 Dec 2013 at 12:41