Class: Arachni::OptionGroups::BrowserCluster
- Inherits:
-
Arachni::OptionGroup
- Object
- Arachni::OptionGroup
- Arachni::OptionGroups::BrowserCluster
- Defined in:
- lib/arachni/option_groups/browser_cluster.rb
Overview
Options for the BrowserCluster and its BrowserCluster::Workers.
Instance Attribute Summary collapse
-
#ignore_images ⇒ Bool
Should the browser’s avoid loading images?.
-
#job_timeout ⇒ Integer
Maximum allowed time for jobs in seconds.
-
#pool_size ⇒ Integer
Amount of BrowserCluster::Worker to keep in the pool and put to work.
-
#screen_height ⇒ Bool
Screen height.
-
#screen_width ⇒ Bool
Screen width.
-
#worker_time_to_live ⇒ Integer
Re-spawn the browser every #worker_time_to_live jobs.
Method Summary
Methods inherited from Arachni::OptionGroup
#==, attr_accessor, attributes, #attributes, #defaults, defaults, #hash, inherited, #initialize, #merge, set_defaults, #to_h, #to_hash, #to_rpc_data, #update, #validate
Constructor Details
This class inherits a constructor from Arachni::OptionGroup
Instance Attribute Details
#ignore_images ⇒ Bool
Returns Should the browser’s avoid loading images?.
30 31 32 |
# File 'lib/arachni/option_groups/browser_cluster.rb', line 30 def ignore_images @ignore_images end |
#job_timeout ⇒ Integer
Returns Maximum allowed time for jobs in seconds.
22 23 24 |
# File 'lib/arachni/option_groups/browser_cluster.rb', line 22 def job_timeout @job_timeout end |
#pool_size ⇒ Integer
Returns Amount of BrowserCluster::Worker to keep in the pool and put to work.
18 19 20 |
# File 'lib/arachni/option_groups/browser_cluster.rb', line 18 def pool_size @pool_size end |
#screen_height ⇒ Bool
Returns Screen height.
38 39 40 |
# File 'lib/arachni/option_groups/browser_cluster.rb', line 38 def screen_height @screen_height end |
#screen_width ⇒ Bool
Returns Screen width.
34 35 36 |
# File 'lib/arachni/option_groups/browser_cluster.rb', line 34 def screen_width @screen_width end |
#worker_time_to_live ⇒ Integer
Returns Re-spawn the browser every #worker_time_to_live jobs.
26 27 28 |
# File 'lib/arachni/option_groups/browser_cluster.rb', line 26 def worker_time_to_live @worker_time_to_live end |