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)


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

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:



2112
2113
2114
# File 'sig/types.rbs', line 2112

def backend
  @backend
end

#block_url_patternsArray[String]?

Returns the value of attribute block_url_patterns.

Returns:

  • (Array[String], nil)


2119
2120
2121
# File 'sig/types.rbs', line 2119

def block_url_patterns
  @block_url_patterns
end

#capture_network_eventsBoolean?

Returns the value of attribute capture_network_events.

Returns:

  • (Boolean, nil)


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

def capture_network_events
  @capture_network_events
end

#endpointString?

Returns the value of attribute endpoint.

Returns:

  • (String, nil)


2113
2114
2115
# File 'sig/types.rbs', line 2113

def endpoint
  @endpoint
end

#eval_scriptString?

Returns the value of attribute eval_script.

Returns:

  • (String, nil)


2120
2121
2122
# File 'sig/types.rbs', line 2120

def eval_script
  @eval_script
end

#extra_waitInteger?

Returns the value of attribute extra_wait.

Returns:

  • (Integer, nil)


2117
2118
2119
# File 'sig/types.rbs', line 2117

def extra_wait
  @extra_wait
end

#modeBrowserMode?

Returns the value of attribute mode.

Returns:



2111
2112
2113
# File 'sig/types.rbs', line 2111

def mode
  @mode
end

#proxyProxyConfig?

Returns the value of attribute proxy.

Returns:



2118
2119
2120
# File 'sig/types.rbs', line 2118

def proxy
  @proxy
end

#robots_user_agentString?

Returns the value of attribute robots_user_agent.

Returns:

  • (String, nil)


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

def robots_user_agent
  @robots_user_agent
end

#session_affinityBoolean?

Returns the value of attribute session_affinity.

Returns:

  • (Boolean, nil)


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

def session_affinity
  @session_affinity
end

#timeoutInteger?

Returns the value of attribute timeout.

Returns:

  • (Integer, nil)


2114
2115
2116
# File 'sig/types.rbs', line 2114

def timeout
  @timeout
end

#waitBrowserWait?

Returns the value of attribute wait.

Returns:



2115
2116
2117
# File 'sig/types.rbs', line 2115

def wait
  @wait
end

#wait_selectorString?

Returns the value of attribute wait_selector.

Returns:

  • (String, nil)


2116
2117
2118
# File 'sig/types.rbs', line 2116

def wait_selector
  @wait_selector
end