Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的页面上有一个链接,如果这是您第一次按下该链接,它将带您到新的操作,所有其他时间都将采取更新,但两个链接具有相同的文本。
When /^I follow "(.*?)"$/ do |arg1| ??? end
好的链接文本相同:
When /^I follow "(.*?)"$/ do |arg1| click_link "Follow" end Then /^he should see hello message$/ do page.should have_selector('div.hello') end