You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
I have an issue using page.driver.debug in my tests.
I double-checked if I am providing an inspector: true key-value pair to the test. Here's what it looks like (though not sure how this might help):
scenario'User removes product from favorites',js: true,inspector: truedofavorite=Factory:favorite,user: uservisit("/products/#{favorite.variant.permalink}/")click_link'Remove from favorites'page.shouldhave_content('Add to favorites')page.should_nothave_content('Remove from favorites')end
And here's an error:
Failure/Error: page.driver.debug
NoMethodError:
private method `open' called for nil:NilClass
# /home/gmile/.rvm/gems/ruby-1.9.3-p125@christ/gems/poltergeist-0.6.0/lib/capybara/poltergeist/driver.rb:107:in `debug'
# ... the rest of stack trace is related to rspec and app specific files ...
I will be providing any additional info if needed.
P.S. just in case this might be a relevant info: I am using Ubuntu 11.10 and phantomjs 1.5
The text was updated successfully, but these errors were encountered:
However, probably we should raise an error if someone calls page.driver.debug if the driver wasn't started with inspector: true, so I'll leave this open to track that.
I would like to clarify how to enable the debug mode.
At first was adding a :inspector => true meta tag to my examples.
I've found the answer in this issue
teampoltergeist#47
At least one person more made the same mistake, so maybe its useful.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have an issue using
page.driver.debug
in my tests.I double-checked if I am providing an
inspector: true
key-value pair to the test. Here's what it looks like (though not sure how this might help):And here's an error:
I will be providing any additional info if needed.
P.S. just in case this might be a relevant info: I am using Ubuntu 11.10 and phantomjs 1.5
The text was updated successfully, but these errors were encountered: