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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -