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:
parent
c4c48b0d2a
commit
46adb59b34
1 changed files with 2 additions and 2 deletions
|
@ -658,8 +658,8 @@ end
|
|||
|
||||
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
|
||||
be used for non-headless drivers like Selenium), and `:screen_size` to change
|
||||
the size of the screen for screenshots.
|
||||
be used by Selenium), and `:screen_size` to change the size of the screen for
|
||||
screenshots.
|
||||
|
||||
```ruby
|
||||
require "test_helper"
|
||||
|
|
Loading…
Reference in a new issue