java - Finding a tab within a page using selenium webdriver -



java - Finding a tab within a page using selenium webdriver -

i newbie selenium , trying access tab total score card tab on folloing website.

http://www.espncricinfo.com/icc-womens-world-cup-2013/engine/current/match/594903.html.

my code in java :

driver.get("http://www.espncricinfo.com/icc-womens-world-cup-2013/engine/current/match/594903.html"); driver.manage().timeouts().implicitlywait(5l, timeunit.seconds); driver.findelement(by.xpath("//*[@id='st_1']")).click();

however not seem able find tab. can please help.

thanks

the "tab" in iframe

before can element in iframe, have "activate" frame driver.switchto().frame("live_iframe")

java selenium webdriver selenium-webdriver

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -