mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fix incorrect RackTest driver example, closes #1147
The `:browser` option is supported by Selenium, but not by RackTest, seems like this was a copy-paste error.
This commit is contained in:
parent
1273f519d5
commit
4f678b2bbd
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ RackTest can be configured with a set of headers like this:
|
|||
|
||||
```ruby
|
||||
Capybara.register_driver :rack_test do |app|
|
||||
Capybara::RackTest::Driver.new(app, :browser => :chrome)
|
||||
Capybara::RackTest::Driver.new(app, :headers => { 'User-Agent' => 'Capybara' })
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue