Method: Capybara::Session#configure

Defined in:
lib/capybara/session.rb

#configure {|config| ... } ⇒ Object

Accepts a block to set the configuration options if threadsafe is true. Note that some options only have an effect if set at initialization time, so look at the configuration block that can be passed to the initializer too.

Yields:



819
820
821
822
823
# File 'lib/capybara/session.rb', line 819

def configure
  raise 'Session configuration is only supported when Capybara.threadsafe == true' unless Capybara.threadsafe

  yield config
end