Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- browser.text_fields.select {|text_field| text_field.visible?}[0]
- browser.text_fields.select {|text_field| text_field.visible?}[0].set "text"
- browser.text_fields.select {|text_field| text_field.visible?}[1]
Add Comment
Please, Sign In to add comment