Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/2-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ Capybara::Cuprite::Driver.new(app, timeout: 15, process_timeout: 30)
# Connect to a remote browser
Capybara::Cuprite::Driver.new(app, url: "http://chrome:3333")

# Keep a remote browser's connection active through a proxy that drops idle connections
Capybara::Cuprite::Driver.new(app, url: "http://chrome:3333", timeout: 120, keepalive_interval: 25)

# Leave the window size to Chrome, e.g. to start maximized in headful mode
Capybara::Cuprite::Driver.new(app, headless: false, window_size: nil, browser_options: { "start-maximized" => nil })

Expand Down
Loading