Class: Puppeteer::TimeoutSettings
- Inherits:
- 
      Object
      
        - Object
- Puppeteer::TimeoutSettings
 
- Defined in:
- lib/puppeteer/timeout_settings.rb
Constant Summary collapse
- DEFAULT_TIMEOUT =
- 30000
Instance Attribute Summary collapse
- 
  
    
      #default_navigation_timeout  ⇒ Object 
    
    
  
  
  
  
    
    
      writeonly
    
  
  
  
  
  
  
    Sets the attribute default_navigation_timeout. 
- 
  
    
      #default_timeout  ⇒ Object 
    
    
  
  
  
  
    
    
      writeonly
    
  
  
  
  
  
  
    Sets the attribute default_timeout. 
Instance Method Summary collapse
Instance Attribute Details
#default_navigation_timeout=(value) ⇒ Object (writeonly)
Sets the attribute default_navigation_timeout
| 4 5 6 | # File 'lib/puppeteer/timeout_settings.rb', line 4 def (value) @default_navigation_timeout = value end | 
#default_timeout=(value) ⇒ Object (writeonly)
Sets the attribute default_timeout
| 4 5 6 | # File 'lib/puppeteer/timeout_settings.rb', line 4 def default_timeout=(value) @default_timeout = value end | 
Instance Method Details
#navigation_timeout ⇒ number
| 7 8 9 | # File 'lib/puppeteer/timeout_settings.rb', line 7 def @default_navigation_timeout || @default_timeout || DEFAULT_TIMEOUT end | 
#timeout ⇒ number
| 12 13 14 | # File 'lib/puppeteer/timeout_settings.rb', line 12 def timeout @default_timeout || DEFAULT_TIMEOUT end |