Class: Applitools::Selenium::RenderRequest
- Inherits:
-
Object
- Object
- Applitools::Selenium::RenderRequest
- Includes:
- Jsonable
- Defined in:
- lib/applitools/selenium/visual_grid/render_request.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ RenderRequest
constructor
A new instance of RenderRequest.
Constructor Details
#initialize(*args) ⇒ RenderRequest
Returns a new instance of RenderRequest.
13 14 15 16 17 18 19 20 21 |
# File 'lib/applitools/selenium/visual_grid/render_request.rb', line 13 def initialize(*args) = Applitools::Utils. args self.agent_id = "eyes.selenium.visualgrid.ruby/#{Applitools::VERSION}" self.script_hooks = {} self.selectors_to_find_regions_for = [] .keys.each do |k| send("#{k}=", [k]) if [k] && respond_to?("#{k}=") end end |