Top Level Namespace

Defined Under Namespace

Modules: Axe, ChainMail, Common, WebDriverScriptAdapter

Instance Method Summary collapse

Instance Method Details

#get_selenium(page) ⇒ Object



6
7
8
9
10
# File 'lib/webdriver_script_adapter/execute_async_script_adapter.rb', line 6

def get_selenium(page)
  page = page.driver if page.respond_to?("driver")
  page = page.browser if page.respond_to?("browser") and not page.browser.is_a?(Symbol)
  page
end