When I fill forms using capybara and page opens in browser, the fields are empty. Is it normal?
page.fill_in 'Email', :with => '[email protected]'
save_and_open_page
It seems that filling stuff into a text field doesn't make it part of the DOM (specifically, the value
attribute of the <input> element), so it won't show up in the page you get.
So yes, it looks like this is normal indeed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With