aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMario Alberto Chávez <mario.chavez@gmail.com>2017-06-01 14:58:42 -0500
committerMario Alberto Chávez <mario.chavez@gmail.com>2017-06-02 11:24:55 -0500
commit9063007538ffdfb03d35c7bb75218dfd2ddfc56c (patch)
treed6919cdc795ab62fa20e6ec4b1423979e8ca5cfa /guides
parentb97e7f02375d4e27286a29d081914bfd1dac3bdf (diff)
downloadrails-9063007538ffdfb03d35c7bb75218dfd2ddfc56c.tar.gz
rails-9063007538ffdfb03d35c7bb75218dfd2ddfc56c.tar.bz2
rails-9063007538ffdfb03d35c7bb75218dfd2ddfc56c.zip
SystemTesting::Driver can register capybara-webkit and poltergeist
drivers. When using `driver_by` with capybara-webkit or poltergeist, SystemTesting::Driver will register the driver while passing `screen_size` and `options` parameteres. `options` could contain any option supported by the underlying driver.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index e4fc8c7b6e..21ceeced1d 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -660,8 +660,9 @@ 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 by Selenium), and `:screen_size` to change the size of the screen for
-screenshots.
+be used by Selenium), `:screen_size` to change the size of the screen for
+screenshots, and `:options` which can be used to set options supported by the
+driver.
```ruby
require "test_helper"