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). As of Kantu for Chrome V0.9.0 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 Kantu IDE separates the URL of the open command into base url and relative path upon export.

The "openWindow" command is not supported by the Kantu Selenium IDE, as we have yet to come across a good use case for it (if you have one, tell us).

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

open Example

In the below example, "" would be the former base url and "kantu/web-automation" the relative path.

Command Target Pattern/Text
echo This was all... -

Works in

Kantu for Chrome Selenium IDE, Kantu 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.

Kantu 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.