1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Clarify documentation for system test arguments

Previously this implied that system tests provided other non-headless
drivers when Selenium is the only driver that uses `:using`,
`:screen_size` or `:options` arguments.

This change clarifies that Selenium is the only non-headless driver.
This commit is contained in:
eileencodes 2017-04-28 09:01:12 -07:00
parent c4c48b0d2a
commit 46adb59b34

View file

@ -658,8 +658,8 @@ end
The driver name is a required argument for `driven_by`. The optional arguments The driver name is a required argument for `driven_by`. The optional arguments
that can be passed to `driven_by` are `:using` for the browser (this will only that can be passed to `driven_by` are `:using` for the browser (this will only
be used for non-headless drivers like Selenium), and `:screen_size` to change be used by Selenium), and `:screen_size` to change the size of the screen for
the size of the screen for screenshots. screenshots.
```ruby ```ruby
require "test_helper" require "test_helper"