-
Notifications
You must be signed in to change notification settings - Fork 5
get it to work with chrome #2
Comments
I don't know what switches you need to set on Chrome, but Chrome in headless mode ignores some of them. Command line flags work, but prefs / profile don't. This is only an issue when used with the https://bugs.chromium.org/p/chromedriver/issues/detail?id=1925 |
We should make sure it works head and headless |
done in sachsenring, yet these headless drivers all suck, sometimes tests run, sometimes not, can depend on subtle version differences. |
then it ain't working :-) |
The fix would then be documentation:
Thing is, because the drivers are external programs following their manufacturers release policies, we cant lock a version in the Gemfile. For chrome headless users usually get the latest, which is not always the greatest, same for geckodriver. Very important here to add for users: Meaning: Do not test for "MyModel", but instead call a method that returns a value, any will do then, for example: "MyModel.respond_to?('find')" |
Chrome Headless works for me, issue can be closed? |
almost, still issues with the hyper-gems tests |
currently no more issues with tests with the gems, though using any has_xpath or has_css is completely unreliable. workaround |
latest chrome driver fixes previous issue that was preventing chrome driver from working with Opal.
Here is some info on Stack Overflow regarding getting chrome driver settings sent over from rspec:
https://stackoverflow.com/questions/36407099/sending-capabilities-switches-to-chromedriver-with-capybara/46261462#46261462
The text was updated successfully, but these errors were encountered: