How to use Capybara’s fill_in on a Site Prism page object – Stack Overflow

It turns out that this works:

login_page.fill_in login_page.email[:name], with: ‘wrong@mail.com’
The [:name] symbol is any unique input attribute you may have in the code.

via pageobjects – Capybara’s fill_in on a Site Prism’s page object doesn’t work – Stack Overflow

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s