Class: Selenium::WebDriver::IE::Options
- Defined in:
 - lib/selenium/webdriver/ie/options.rb
 
Constant Summary collapse
- KEY =
 'se:ieOptions'- SCROLL_TOP =
 0- SCROLL_BOTTOM =
 1- CAPABILITIES =
 { browser_attach_timeout: 'browserAttachTimeout', element_scroll_behavior: 'elementScrollBehavior', full_page_screenshot: 'ie.enableFullPageScreenshot', ensure_clean_session: 'ie.ensureCleanSession', file_upload_dialog_timeout: 'ie.fileUploadDialogTimeout', force_create_process_api: 'ie.forceCreateProcessApi', force_shell_windows_api: 'ie.forceShellWindowsApi', ignore_protected_mode_settings: 'ignoreProtectedModeSettings', ignore_zoom_level: 'ignoreZoomSetting', initial_browser_url: 'initialBrowserUrl', native_events: 'nativeEvents', persistent_hover: 'enablePersistentHover', require_window_focus: 'requireWindowFocus', use_per_process_proxy: 'ie.usePerProcessProxy', use_legacy_file_upload_dialog_handling: 'ie.useLegacyFileUploadDialogHandling', attach_to_edge_chrome: 'ie.edgechromium', edge_executable_path: 'ie.edgepath', ignore_process_match: 'ie.ignoreprocessmatch', silent: 'silent' }.freeze
- BROWSER =
 'internet explorer'
Constants inherited from Options
Options::GRID_OPTIONS, Options::W3C_OPTIONS
Instance Attribute Summary collapse
- 
  
    
      #args  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute args.
 
Attributes inherited from Options
Instance Method Summary collapse
- 
  
    
      #add_argument(arg)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Add a command-line argument to use when starting Internet Explorer.
 - 
  
    
      #initialize(**opts)  ⇒ Options 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Create a new Options instance.
 
Methods inherited from Options
#==, #add_option, #as_json, chrome, edge, firefox, ie, safari, set_capabilities
Constructor Details
#initialize(**opts) ⇒ Options
Create a new Options instance
      83 84 85 86 87 88  | 
    
      # File 'lib/selenium/webdriver/ie/options.rb', line 83 def initialize(**opts) @args = (opts.delete(:args) || []).to_set super @options[:native_events] = true if @options[:native_events].nil? end  | 
  
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
      50 51 52  | 
    
      # File 'lib/selenium/webdriver/ie/options.rb', line 50 def args @args end  | 
  
Instance Method Details
#add_argument(arg) ⇒ Object
Add a command-line argument to use when starting Internet Explorer.
      96 97 98  | 
    
      # File 'lib/selenium/webdriver/ie/options.rb', line 96 def add_argument(arg) @args << arg end  |