Class: Crawlberg::BrowserConfig
- Inherits:
-
Object
- Object
- Crawlberg::BrowserConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ 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 ⇒ 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 ⇒ 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.
87 |
# File 'sig/types.rbs', line 87
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 (readonly)
Returns the value of attribute backend.
74 75 76 |
# File 'sig/types.rbs', line 74 def backend @backend end |
#block_url_patterns ⇒ Array[String] (readonly)
Returns the value of attribute block_url_patterns.
81 82 83 |
# File 'sig/types.rbs', line 81 def block_url_patterns @block_url_patterns end |
#capture_network_events ⇒ Boolean (readonly)
Returns the value of attribute capture_network_events.
84 85 86 |
# File 'sig/types.rbs', line 84 def capture_network_events @capture_network_events end |
#endpoint ⇒ String? (readonly)
Returns the value of attribute endpoint.
75 76 77 |
# File 'sig/types.rbs', line 75 def endpoint @endpoint end |
#eval_script ⇒ String? (readonly)
Returns the value of attribute eval_script.
82 83 84 |
# File 'sig/types.rbs', line 82 def eval_script @eval_script end |
#extra_wait ⇒ Integer? (readonly)
Returns the value of attribute extra_wait.
79 80 81 |
# File 'sig/types.rbs', line 79 def extra_wait @extra_wait end |
#mode ⇒ BrowserMode (readonly)
Returns the value of attribute mode.
73 74 75 |
# File 'sig/types.rbs', line 73 def mode @mode end |
#proxy ⇒ ProxyConfig? (readonly)
Returns the value of attribute proxy.
80 81 82 |
# File 'sig/types.rbs', line 80 def proxy @proxy end |
#robots_user_agent ⇒ String? (readonly)
Returns the value of attribute robots_user_agent.
83 84 85 |
# File 'sig/types.rbs', line 83 def robots_user_agent @robots_user_agent end |
#session_affinity ⇒ Boolean (readonly)
Returns the value of attribute session_affinity.
85 86 87 |
# File 'sig/types.rbs', line 85 def session_affinity @session_affinity end |
#timeout ⇒ Integer (readonly)
Returns the value of attribute timeout.
76 77 78 |
# File 'sig/types.rbs', line 76 def timeout @timeout end |
#wait ⇒ BrowserWait (readonly)
Returns the value of attribute wait.
77 78 79 |
# File 'sig/types.rbs', line 77 def wait @wait end |
#wait_selector ⇒ String? (readonly)
Returns the value of attribute wait_selector.
78 79 80 |
# File 'sig/types.rbs', line 78 def wait_selector @wait_selector end |