method

initialize_options

rails latest stable - Class: ActionDispatch::SystemTesting::Browser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

initialize_options()
private

No documentation available.

# File actionpack/lib/action_dispatch/system_testing/browser.rb, line 43
        def initialize_options
          @options ||=
            case type
            when :chrome
              ::Selenium::WebDriver::Chrome::Options.new
            when :firefox
              ::Selenium::WebDriver::Firefox::Options.new
            end
        end