I can't seem to figure out why this doesn't work, I don't know what else to say as I'm sure this should be quite simple.
>> pry
[1] pry(main)> require 'capybara'
^[[A=> true
[2] pry(main)> require 'selenium-webdriver'
=> true
[3] pry(main)> include Capybara::DSL
NameError: uninitialized constant Capybara::DSL
from (pry):3:in `__pry__'
Any help would be really appreciated as this little issue is driving me mad.
To get access to Capybara::DSL
you need to require 'capybara/dsl'
(instead of just 'capybara') as documented here
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