Class: Xberg::BrowserConfig
- Inherits:
-
Object
- Object
- Xberg::BrowserConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ enum_BrowserBackend
readonly
Returns the value of attribute backend.
-
#block_url_patterns ⇒ Array[String]
readonly
Returns the value of attribute block_url_patterns.
-
#capture_network_events ⇒ Boolean
readonly
Returns the value of attribute capture_network_events.
-
#endpoint ⇒ String?
readonly
Returns the value of attribute endpoint.
-
#eval_script ⇒ String?
readonly
Returns the value of attribute eval_script.
-
#extra_wait ⇒ Integer?
readonly
Returns the value of attribute extra_wait.
-
#mode ⇒ enum_BrowserMode
readonly
Returns the value of attribute mode.
-
#proxy ⇒ ProxyConfig?
readonly
Returns the value of attribute proxy.
-
#robots_user_agent ⇒ String?
readonly
Returns the value of attribute robots_user_agent.
-
#session_affinity ⇒ Boolean
readonly
Returns the value of attribute session_affinity.
-
#timeout ⇒ Integer
readonly
Returns the value of attribute timeout.
-
#wait ⇒ enum_BrowserWait
readonly
Returns the value of attribute wait.
-
#wait_selector ⇒ String?
readonly
Returns the value of attribute wait_selector.
Instance Method Summary collapse
-
#initialize ⇒ BrowserConfig
constructor
A new instance of BrowserConfig.
Constructor Details
#initialize ⇒ BrowserConfig
Returns a new instance of BrowserConfig.
109 |
# File 'sig/types.rbs', line 109
def initialize: (?mode: enum_BrowserMode, ?backend: enum_BrowserBackend, ?endpoint: String, ?timeout: Integer, ?wait: enum_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
#backend ⇒ enum_BrowserBackend (readonly)
Returns the value of attribute backend.
96 97 98 |
# File 'sig/types.rbs', line 96 def backend @backend end |
#block_url_patterns ⇒ Array[String] (readonly)
Returns the value of attribute block_url_patterns.
103 104 105 |
# File 'sig/types.rbs', line 103 def block_url_patterns @block_url_patterns end |
#capture_network_events ⇒ Boolean (readonly)
Returns the value of attribute capture_network_events.
106 107 108 |
# File 'sig/types.rbs', line 106 def capture_network_events @capture_network_events end |
#endpoint ⇒ String? (readonly)
Returns the value of attribute endpoint.
97 98 99 |
# File 'sig/types.rbs', line 97 def endpoint @endpoint end |
#eval_script ⇒ String? (readonly)
Returns the value of attribute eval_script.
104 105 106 |
# File 'sig/types.rbs', line 104 def eval_script @eval_script end |
#extra_wait ⇒ Integer? (readonly)
Returns the value of attribute extra_wait.
101 102 103 |
# File 'sig/types.rbs', line 101 def extra_wait @extra_wait end |
#mode ⇒ enum_BrowserMode (readonly)
Returns the value of attribute mode.
95 96 97 |
# File 'sig/types.rbs', line 95 def mode @mode end |
#proxy ⇒ ProxyConfig? (readonly)
Returns the value of attribute proxy.
102 103 104 |
# File 'sig/types.rbs', line 102 def proxy @proxy end |
#robots_user_agent ⇒ String? (readonly)
Returns the value of attribute robots_user_agent.
105 106 107 |
# File 'sig/types.rbs', line 105 def robots_user_agent @robots_user_agent end |
#session_affinity ⇒ Boolean (readonly)
Returns the value of attribute session_affinity.
107 108 109 |
# File 'sig/types.rbs', line 107 def session_affinity @session_affinity end |
#timeout ⇒ Integer (readonly)
Returns the value of attribute timeout.
98 99 100 |
# File 'sig/types.rbs', line 98 def timeout @timeout end |
#wait ⇒ enum_BrowserWait (readonly)
Returns the value of attribute wait.
99 100 101 |
# File 'sig/types.rbs', line 99 def wait @wait end |
#wait_selector ⇒ String? (readonly)
Returns the value of attribute wait_selector.
100 101 102 |
# File 'sig/types.rbs', line 100 def wait_selector @wait_selector end |