Module: SpecTest::Platforms::SeleniumWebDriver::WebObject

Defined in:
lib/spectest/platform_selenium/web_objects/all.rb

Instance Method Summary collapse

Instance Method Details

#exists?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/spectest/platform_selenium/web_objects/all.rb', line 10

def exists?
  nil != @web_object
end

#visible?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/spectest/platform_selenium/web_objects/all.rb', line 6

def visible?
  @web_object.displayed?
end