method

new

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Driver
new(name, **options, &capabilities) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/system_testing/driver.rb, line 6
      def initialize(name, **options, &capabilities)
        @name = name
        @browser = Browser.new(options[:using])
        @screen_size = options[:screen_size]
        @options = options[:options] || {}
        @capabilities = capabilities

        if name == :selenium
          require "selenium/webdriver"
          @browser.preload
        end
      end
Register or log in to add new notes.