Hi, thank you for this driver, I hope I can replace our selenium based steps!
With a jQuery 1.5.1 based script I get this error:
........undefined:1 ReferenceError: Can't find variable: $
(::) failed steps (::)
./features/step_definitions/landing_steps.rb:40:in /I leave the "(.+)" input field/' features/landing_page.feature:19:inAnd I leave the email input field'
/I leave the "(.+)" input field/' features/landing_page.feature:19:in
The step definition is as follows
The script itself should be OK and runs with selenium/akehalos.
I see that this is not a lot if information - I'd be happy if you could ask for more specific things or point me to a direction.
It was one of these nagging timing problems, I have to wait until jQuery is loaded!
Thank you anyways,
Recently I've faced with this error, how do you check that jQuery is loaded?
With most timing issues, it's easiest to let capybara handling waiting and syncing for you and look for some text or markup on the page.