Class: Applitools::Selenium::WebElementRegion

Inherits:
Object
  • Object
show all
Includes:
Jsonable
Defined in:
lib/applitools/selenium/visual_grid/web_element_region.rb

Instance Method Summary collapse

Constructor Details

#initialize(selector, category) ⇒ WebElementRegion

Returns a new instance of WebElementRegion.



9
10
11
12
13
# File 'lib/applitools/selenium/visual_grid/web_element_region.rb', line 9

def initialize(selector, category)
  self.selector = selector
  self.category = category
  self.type = 'xpath'
end