Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- specify'searh hello world with google using docmain based script' do
- page = GoogleHomPage.new(@webpage.browser)
- page.should be_present
- page.search_field.enter('hello world')
- page.search_button.click_wait
- page.title.should == 'hello world - Google Search'
- page.search_field.value.should == 'hello world'
- end
Add Comment
Please, Sign In to add comment