Method: Selenium::Client::GeneratedDriver#open

Defined in:
lib/selenium/client/legacy_driver.rb

#open(url) ⇒ Object

Opens an URL in the test frame. This accepts both relative and absolute URLs.

The “open” command waits for the page to load before proceeding, ie. the “AndWait” suffix is implicit.

Note: The URL must be on the same domain as the runner HTML due to security restrictions in the browser (Same Origin Policy). If you need to open an URL on another domain, use the Selenium Server to start a new browser session on that domain.

‘url’ is the URL to open; may be relative or absolute


571
572
573
# File 'lib/selenium/client/legacy_driver.rb', line 571

def open(url)
    remote_control_command("open", [url,])
end