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)


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

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:



2297
2298
2299
# File 'sig/types.rbs', line 2297

def backend
  @backend
end

#block_url_patternsArray[String]?

Returns the value of attribute block_url_patterns.

Returns:

  • (Array[String], nil)


2304
2305
2306
# File 'sig/types.rbs', line 2304

def block_url_patterns
  @block_url_patterns
end

#capture_network_eventsBoolean?

Returns the value of attribute capture_network_events.

Returns:

  • (Boolean, nil)


2307
2308
2309
# File 'sig/types.rbs', line 2307

def capture_network_events
  @capture_network_events
end

#endpointString?

Returns the value of attribute endpoint.

Returns:

  • (String, nil)


2298
2299
2300
# File 'sig/types.rbs', line 2298

def endpoint
  @endpoint
end

#eval_scriptString?

Returns the value of attribute eval_script.

Returns:

  • (String, nil)


2305
2306
2307
# File 'sig/types.rbs', line 2305

def eval_script
  @eval_script
end

#extra_waitInteger?

Returns the value of attribute extra_wait.

Returns:

  • (Integer, nil)


2302
2303
2304
# File 'sig/types.rbs', line 2302

def extra_wait
  @extra_wait
end

#modeBrowserMode?

Returns the value of attribute mode.

Returns:



2296
2297
2298
# File 'sig/types.rbs', line 2296

def mode
  @mode
end

#proxyProxyConfig?

Returns the value of attribute proxy.

Returns:



2303
2304
2305
# File 'sig/types.rbs', line 2303

def proxy
  @proxy
end

#robots_user_agentString?

Returns the value of attribute robots_user_agent.

Returns:

  • (String, nil)


2306
2307
2308
# File 'sig/types.rbs', line 2306

def robots_user_agent
  @robots_user_agent
end

#session_affinityBoolean?

Returns the value of attribute session_affinity.

Returns:

  • (Boolean, nil)


2308
2309
2310
# File 'sig/types.rbs', line 2308

def session_affinity
  @session_affinity
end

#timeoutInteger?

Returns the value of attribute timeout.

Returns:

  • (Integer, nil)


2299
2300
2301
# File 'sig/types.rbs', line 2299

def timeout
  @timeout
end

#waitBrowserWait?

Returns the value of attribute wait.

Returns:



2300
2301
2302
# File 'sig/types.rbs', line 2300

def wait
  @wait
end

#wait_selectorString?

Returns the value of attribute wait_selector.

Returns:

  • (String, nil)


2301
2302
2303
# File 'sig/types.rbs', line 2301

def wait_selector
  @wait_selector
end