私はこのテストを持っています
feature 'edit company', :js=>true do
scenario 'edit company' do
visit '/companies'
page.has_content? company.name
find('#edit_company_btn_1').click
...
これは問題なく動作します。しかし、 :js=>true 部分を削除すると、次のエラーが発生します。
Failure/Error: find('#update_btn_company').click
NoMethodError:
undefined method `start_with?' for nil:NilClass
あるドライバーでは機能するのに、他のドライバーでは機能しないのはなぜですか?