Selenium webdriver: Clicking a legend to fire a javascript function? -
i have page trying automate. when page loads there table headings, when click heading calls javascript function , expands page reveal links. section of code:
<fieldset class="fsclosed"> <legend>all orders</legend> <div class="fieldsetwrapper"> </fieldset> when manually use page click on text "all orders" , expand page show more links , options. can tell me how using selenium? have tried using bylink() , byxpath() don't when call click();
Comments
Post a Comment