4 ms·
I believe chromedriver 2.30(or maybe an earlier version) fixes these issues. Certainly it is possible to pass chromeOptions: { args: %w[headless disable-gpu wi
by larksimian 9y ago
I believe chromedriver 2.30(or maybe an earlier version) fixes these issues.
Certainly it is possible to pass chromeOptions: { args: %w[headless disable-gpu window-size=1920x1080] } to the capabilities object and that works.
Screenshots also work in Rails system tests.
- drspacemonkey 9y ago>Screenshots also work in Rails system tests. Do you have a link or something about how to make that work? About two weeks ago, I was struggling with screenshots and pushed it back to my to-do list.
- larksimian 9y agoSee the top comment in this issue for my setup: https://github.com/rails/rails/issues/29688 https://github.com/rails/rails/issues/29688 Until the fix is released for Rails(the issue is resolved, but I don't think it's published to rubygems) you'll also need the monkeypatch I added later on in the issue report(or some other code to that effect).