How to make a tab expend?
Here is the website I want to try out. http://www.csun.edu/ Under m开发者_StackOverflow社区yNorthRidge Portal, there is a place for me to fill out my user id and password. But the thing is that I have to click on the "sign" to expand the tab first. I could not find a way to get around this problem :( ? Anyone could share me a hint how to solve this problem? Thanks This is the html tag for it:
<div class="CollapsiblePanelTab">Log In</div>
Thanks everyone, I got it solved ;) by using element_by_xpath( "..." )
ie.element_by_xpath( "/html/body/div/div[5]/div/div" ).click
This worked for me:
browser.div(:text => "Log In").click
精彩评论