Class: Selenium::WebDriver::Firefox::Service
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| 
         Class Chain: 
        
       | 
    |
| 
         Instance Chain: 
        
       | 
    |
| Inherits: | 
        Selenium::WebDriver::Service
        
  | 
    
| Defined in: | rb/lib/selenium/webdriver/firefox/service.rb | 
Constant Summary
- 
    DEFAULT_PORT =
    
# File 'rb/lib/selenium/webdriver/firefox/service.rb', line 244444 - 
    DRIVER_PATH_ENV_KEY =
    
# File 'rb/lib/selenium/webdriver/firefox/service.rb', line 27'SE_GECKODRIVER' - 
    EXECUTABLE =
    
# File 'rb/lib/selenium/webdriver/firefox/service.rb', line 25'geckodriver' - 
    SHUTDOWN_SUPPORTED =
    
# File 'rb/lib/selenium/webdriver/firefox/service.rb', line 26false 
Class Attribute Summary
::Selenium::WebDriver::Service - Inherited
Class Method Summary
::Selenium::WebDriver::Service - Inherited
| .chrome, .edge, .firefox, .ie, | |
| .internet_explorer | Alias for Service.ie.  | 
    
| .microsoftedge | Alias for Service.edge.  | 
    
| .msedge | Alias for Service.edge.  | 
    
| .safari, | |
| .new | End users should use a class method for the desired driver, rather than using this directly.  | 
    
Instance Attribute Summary
::Selenium::WebDriver::Service - Inherited
| #args, #executable_path, | |
| #extra_args | Alias for Service#args.  | 
    
| #host, #log, #port | |
Instance Method Summary
::Selenium::WebDriver::Service - Inherited
Constructor Details
    .new(path: nil, port: nil, log: nil, args: nil)  ⇒ Service 
  
# File 'rb/lib/selenium/webdriver/firefox/service.rb', line 29
def initialize(path: nil, port: nil, log: nil, args: nil) args ||= [] unless args.any? { |arg| arg.include?('--connect-existing') || arg.include?('--websocket-port') } args << '--websocket-port' args << '0' end super end