Open GoogleCodeExporter opened 9 years ago
This project has moved to GitHub:
http://florentbr.github.io/SeleniumBasic
This website and version is no longer be supported as Google has announced that
it will shut down this service for good.
Now regarding your issue, the page contains a lot of background processing.
So the best way is to emulate exactly what the user would do:
Dim driver As New ChromeDriver
driver.Get "https://www.theice.com/marketdata/reports/166"
Set form = driver.FindElementById("form_selectedContract_chosen")
form.FindElementByTagName("a").Click
form.FindElementByTagName("input").SendKeys "M-Option on UK Natural Gas NBP Future"
form.FindElementByClassName("chosen-results").Click
form.Submit
Set elts = driver.FindElementsByCssSelector(".btn-link", 2, 10000)
For Each e In elts
e.Click
Next
driver.Wait 5000
driver.Quit
Original comment by florentbr
on 2 Aug 2015 at 11:32
Original comment by florentbr
on 2 Aug 2015 at 11:48
Thanks a lot Florent. Exactly what I am looking at. I had banged by head over
this for a day.
In the future, I'll get to github for any reference.
Thanks again,
Cheers,
Ravi.
Original comment by ravikira...@gmail.com
on 3 Aug 2015 at 8:37
Original issue reported on code.google.com by
ravikira...@gmail.com
on 1 Aug 2015 at 10:46Attachments: