Method: Selenium::WebDriver::Driver#select_frame
- Defined in:
- lib/oats/oats_selenium_api.rb
#select_frame(locator) ⇒ Object
593 594 595 596 |
# File 'lib/oats/oats_selenium_api.rb', line 593 def select_frame(locator) fid = selenium.get_attribute locator+'/@id' selenium.switch_to.frame(fid) end |