Open GoogleCodeExporter opened 8 years ago
> 1) Pls could you provide sample VBA code that will retrieve underlying link
for a given cell in a table?
Your xpath query is incorrect as an href attribute is not available for a TD
tag.
As a don't have your html source, I can only suggest a solution:
selenium.getAttribute("xpath=//table[1]//tr[1]/td[1]/a@href")
I recommend you to test your xpath in Firebug by using this command :
$x("//table[1]//tr[1]/td[1]/a@href");
> 2) Pls could you also provide sample VBA code that will return current
http://www address as per address bar in the browser?
url = selenium.URL
or
url = selenium.getLocation()
Original comment by florentbr
on 11 Jun 2013 at 2:01
Original comment by florentbr
on 8 Sep 2014 at 5:40
Original issue reported on code.google.com by
steepd...@gmail.com
on 11 Jun 2013 at 12:04