Open (URL) - Selenium IDE command

Meet Open - the most used command in the selenium IDE software testing tool. The "Open" command opens the URL in the current selected browser tab. The open command takes a full URL as input (recommended) or a path relative to the baseurl (outdated). In UI Vision and our Selenium IDE++ web automation engine we removed the BaseURL input box from the UI, but exported HTML tests still contain it, so they remain compatible to the classic Firefox IDE and other use cases. To do so, the UI Vision IDE separates the URL of the open command into base url and relative path upon export.

The "openWindow" command is not supported by the UI Vision Selenium IDE. You can achieve the same result with the more flexibe selectWindow | TAB=OPEN | https://newurl.com command.

Note: If the OPEN argument does not start with http:// or https:// (e. g. "OPEN | /contact"), then UI Vision assumes this is a relative path it is appended to the existing URL.

open Example

In the below example, "https://ui.vision/" would be the former base url and "docs/selenium-ide" the relative path.

Command Target Pattern/Text
open https://ui.vision/docs/selenium-ide
echo This was all... -

Works in

UI Vision for Chrome Selenium IDE, UI Vision for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

DemoAutofill and every other demo macro contain open.

The ready-to-import-and-run source code of all demo macros can be found in the Github repository testmacros folder.

See also

captureScreenshot, Web Automation Extension User Manual, Selenium IDE commands (this page), Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

<em>UI Vision</em> Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.