Class: Crawlberg::BrowserConfig
- Inherits:
-
Object
- Object
- Crawlberg::BrowserConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ BrowserBackend?
Returns the value of attribute backend.
-
#block_url_patterns ⇒ Array[String]?
Returns the value of attribute block_url_patterns.
-
#capture_network_events ⇒ Boolean?
Returns the value of attribute capture_network_events.
-
#endpoint ⇒ String?
Returns the value of attribute endpoint.
-
#eval_script ⇒ String?
Returns the value of attribute eval_script.
-
#extra_wait ⇒ Integer?
Returns the value of attribute extra_wait.
-
#mode ⇒ BrowserMode?
Returns the value of attribute mode.
-
#proxy ⇒ ProxyConfig?
Returns the value of attribute proxy.
-
#robots_user_agent ⇒ String?
Returns the value of attribute robots_user_agent.
-
#session_affinity ⇒ Boolean?
Returns the value of attribute session_affinity.
-
#timeout ⇒ Integer?
Returns the value of attribute timeout.
-
#wait ⇒ BrowserWait?
Returns the value of attribute wait.
-
#wait_selector ⇒ String?
Returns the value of attribute wait_selector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BrowserConfig
constructor
A new instance of BrowserConfig.
Constructor Details
#initialize ⇒ BrowserConfig
Returns a new instance of BrowserConfig.
63 |
# File 'sig/types.rbs', line 63
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
#backend ⇒ BrowserBackend?
Returns the value of attribute backend.
50 51 52 |
# File 'sig/types.rbs', line 50 def backend @backend end |
#block_url_patterns ⇒ Array[String]?
Returns the value of attribute block_url_patterns.
57 58 59 |
# File 'sig/types.rbs', line 57 def block_url_patterns @block_url_patterns end |
#capture_network_events ⇒ Boolean?
Returns the value of attribute capture_network_events.
60 61 62 |
# File 'sig/types.rbs', line 60 def capture_network_events @capture_network_events end |
#endpoint ⇒ String?
Returns the value of attribute endpoint.
51 52 53 |
# File 'sig/types.rbs', line 51 def endpoint @endpoint end |
#eval_script ⇒ String?
Returns the value of attribute eval_script.
58 59 60 |
# File 'sig/types.rbs', line 58 def eval_script @eval_script end |
#extra_wait ⇒ Integer?
Returns the value of attribute extra_wait.
55 56 57 |
# File 'sig/types.rbs', line 55 def extra_wait @extra_wait end |
#mode ⇒ BrowserMode?
Returns the value of attribute mode.
49 50 51 |
# File 'sig/types.rbs', line 49 def mode @mode end |
#proxy ⇒ ProxyConfig?
Returns the value of attribute proxy.
56 57 58 |
# File 'sig/types.rbs', line 56 def proxy @proxy end |
#robots_user_agent ⇒ String?
Returns the value of attribute robots_user_agent.
59 60 61 |
# File 'sig/types.rbs', line 59 def robots_user_agent @robots_user_agent end |
#session_affinity ⇒ Boolean?
Returns the value of attribute session_affinity.
61 62 63 |
# File 'sig/types.rbs', line 61 def session_affinity @session_affinity end |
#timeout ⇒ Integer?
Returns the value of attribute timeout.
52 53 54 |
# File 'sig/types.rbs', line 52 def timeout @timeout end |
#wait ⇒ BrowserWait?
Returns the value of attribute wait.
53 54 55 |
# File 'sig/types.rbs', line 53 def wait @wait end |
#wait_selector ⇒ String?
Returns the value of attribute wait_selector.
54 55 56 |
# File 'sig/types.rbs', line 54 def wait_selector @wait_selector end |