Class: Xberg::BrowserConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBrowserConfig

Returns a new instance of BrowserConfig.

Parameters:

  • mode: (BrowserMode)
  • backend: (BrowserBackend)
  • endpoint: (String)
  • timeout: (Integer)
  • wait: (BrowserWait)
  • wait_selector: (String)
  • extra_wait: (Integer)
  • proxy: (ProxyConfig)
  • block_url_patterns: (Array[String])
  • eval_script: (String)
  • robots_user_agent: (String)
  • capture_network_events: (Boolean)
  • session_affinity: (Boolean)


2136
# File 'sig/types.rbs', line 2136

def initialize: (?mode: BrowserMode, ?backend: BrowserBackend, ?endpoint: String, ?timeout: Integer, ?wait: BrowserWait, ?wait_selector: String, ?extra_wait: Integer, ?proxy: ProxyConfig, ?block_url_patterns: Array[String], ?eval_script: String, ?robots_user_agent: String, ?capture_network_events: bool, ?session_affinity: bool) -> void

Instance Attribute Details

#backendBrowserBackend?

Returns the value of attribute backend.

Returns:



2123
2124
2125
# File 'sig/types.rbs', line 2123

def backend
  @backend
end

#block_url_patternsArray[String]?

Returns the value of attribute block_url_patterns.

Returns:

  • (Array[String], nil)


2130
2131
2132
# File 'sig/types.rbs', line 2130

def block_url_patterns
  @block_url_patterns
end

#capture_network_eventsBoolean?

Returns the value of attribute capture_network_events.

Returns:

  • (Boolean, nil)


2133
2134
2135
# File 'sig/types.rbs', line 2133

def capture_network_events
  @capture_network_events
end

#endpointString?

Returns the value of attribute endpoint.

Returns:

  • (String, nil)


2124
2125
2126
# File 'sig/types.rbs', line 2124

def endpoint
  @endpoint
end

#eval_scriptString?

Returns the value of attribute eval_script.

Returns:

  • (String, nil)


2131
2132
2133
# File 'sig/types.rbs', line 2131

def eval_script
  @eval_script
end

#extra_waitInteger?

Returns the value of attribute extra_wait.

Returns:

  • (Integer, nil)


2128
2129
2130
# File 'sig/types.rbs', line 2128

def extra_wait
  @extra_wait
end

#modeBrowserMode?

Returns the value of attribute mode.

Returns:



2122
2123
2124
# File 'sig/types.rbs', line 2122

def mode
  @mode
end

#proxyProxyConfig?

Returns the value of attribute proxy.

Returns:



2129
2130
2131
# File 'sig/types.rbs', line 2129

def proxy
  @proxy
end

#robots_user_agentString?

Returns the value of attribute robots_user_agent.

Returns:

  • (String, nil)


2132
2133
2134
# File 'sig/types.rbs', line 2132

def robots_user_agent
  @robots_user_agent
end

#session_affinityBoolean?

Returns the value of attribute session_affinity.

Returns:

  • (Boolean, nil)


2134
2135
2136
# File 'sig/types.rbs', line 2134

def session_affinity
  @session_affinity
end

#timeoutInteger?

Returns the value of attribute timeout.

Returns:

  • (Integer, nil)


2125
2126
2127
# File 'sig/types.rbs', line 2125

def timeout
  @timeout
end

#waitBrowserWait?

Returns the value of attribute wait.

Returns:



2126
2127
2128
# File 'sig/types.rbs', line 2126

def wait
  @wait
end

#wait_selectorString?

Returns the value of attribute wait_selector.

Returns:

  • (String, nil)


2127
2128
2129
# File 'sig/types.rbs', line 2127

def wait_selector
  @wait_selector
end