Kamis, 19 April 2012

Getting string within <i> Tag, Selenium IDE

Trying to get the content of a specific Tag on a page so I can compare it to another value, doesn't work however: var a1 = ""; var dingdong = selenium.browserbot.getCurrentWindow().document.getElementsByClassName("selected ")[3]; a1 = dingdong.firstChild.value; In which dingdong is an tag which has the tag in it. Another approach I tried was this: var dingdong =

0 comments:

Posting Komentar