Exception: SeleniumPage::Page::Errors::AlreadyDefinedElementName
- Inherits:
-
StandardError
- Object
- StandardError
- SeleniumPage::Page::Errors::AlreadyDefinedElementName
- Defined in:
- lib/selenium_page/page/errors.rb
Overview
AlreadyDefinedElementName
Instance Method Summary collapse
-
#initialize(element_name) ⇒ AlreadyDefinedElementName
constructor
A new instance of AlreadyDefinedElementName.
- #message ⇒ Object
Constructor Details
#initialize(element_name) ⇒ AlreadyDefinedElementName
Returns a new instance of AlreadyDefinedElementName.
10 11 12 |
# File 'lib/selenium_page/page/errors.rb', line 10 def initialize(element_name) @element_name = element_name end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/selenium_page/page/errors.rb', line 14 def "The element '#{@element_name}' is already defined" end |