Class: SeleniumPlus::Iframe
- Inherits:
-
Object
- Object
- SeleniumPlus::Iframe
- Extended by:
- Container
- Includes:
- Finders
- Defined in:
- lib/selenium_plus/page_obj/iframe.rb
Instance Method Summary collapse
-
#initialize(iframe_element) ⇒ Iframe
constructor
A new instance of Iframe.
Methods included from Container
element, elements, iframe, section
Methods included from Finders
Constructor Details
#initialize(iframe_element) ⇒ Iframe
Returns a new instance of Iframe.
6 7 8 |
# File 'lib/selenium_plus/page_obj/iframe.rb', line 6 def initialize(iframe_element) SeleniumPlus.driver.switch_to_frame(iframe_element) end |