I have a set of tests which lead to a Facebook page where the user logs in. Unfortunately, this page has some JavaScript errors which I can't influence, so my tests would never finish.
Is there any way to temporarily disable the check for JS errors? I was thinking about something like: Capybara.javascript_driver.js_errors = false
and then setting it to true
later, but unfortunately this doesn't work. I have tried variations of this to no avail.
Any ideas on how my problem could be solved?
try{}catch(e){}
block? I mean the part where Facebook page opens. Or tests itself not written in javascript? – Handful