开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜