-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to provide screen size to the browser as part of setup #8
Comments
Yea of course, I need to dig into how |
@mhenrixon is this not already possible? I'm looking at the docs, it seems like it should just work. https://api.rubyonrails.org/classes/ActionDispatch/SystemTestCase.html#method-c-driven_by What error are you getting? (I'll try to get around to investigating later today) |
Ruby on Rails has already defined a cuprite driver so your creation of the driver isn't picked up properly. Perhaps you can use the existing driver and modify the settings but somehow I feel like that would be more work than simply just renaming the driver. |
Basically nothing works and it complains it can't find the binary (I was using browserless chrome and a chrome url). |
Can you tell I haven't slept in months? I answered the wrong question... So, the screensize doesn't work for screenshots. The screenshots seems to have the same size as you defined in the initial |
I would have expected the following to work but it doesn't.
Would you be open to allowing some way of customizing the custom cuprite driver's browser options with a configurable screensize?
The text was updated successfully, but these errors were encountered: