Reputation: 322
I am having problems accessing a text field on a web site. What code would I write to input data into the input field txtUser
?
Upvotes: 1
Views: 67
Reputation: 57302
You have to explicitly say the text field is in a frame:
browser.frame(:name => "content").text_field(:name => "txtUser").set "Lorem Ipsum"
Upvotes: 1