Module: PageObject::Platforms::SeleniumWebDriver::Button
- Defined in:
- lib/page-object/platforms/selenium_webdriver/button.rb
Instance Method Summary collapse
-
#text ⇒ Object
Override PageObject::PLatforms::SeleniumElement#text because #text does not reliabably return a value in Selenium.
Instance Method Details
#text ⇒ Object
Override PageObject::PLatforms::SeleniumElement#text because #text does not reliabably return a value in Selenium
9 10 11 |
# File 'lib/page-object/platforms/selenium_webdriver/button.rb', line 9 def text raise "text is not available on button element in Selenium" end |