Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A parameter for a command should not contain any coma comma as it is the separator character.

...

Excerpt
namebrowsermanager

Browser Manager

Command

Example

Description

setBrowser

setBrowser,chrome setBrowser,firefox

Sets the browser to use.

launchBrowser

Launches the current set browser. If not set, launches default browser Chrome.

browserClearCache

Clears the cache of the current set browser.

browserNewTab

Opens a new tab on the current set browser.

browserGoToUrl

browserGoToUrl,https://greenspector.com/

Browses the given url on the current set browser.

browserCloseAllTabs

Closes every opened tabs on the current set browser.

browserReset

Browser reset clear cache and user data and prepare the browser for the test.

waitUntilPageLoaded

waitUntilPageLoaded,[DURATION]

Waits until the current web page is loaded.

Status
colourYellow
titlecompatibility : universal

browserPrepareAndOpen

Prepares browser for measurement: (clear cache, close all tabs, close browser and reopen it)

browserCloseAllTabsAndOpen

Closes all browser tabs and open a new tab. (Browser will be closed during process)

browserPrepareAndOpenForReference

Prepares browser for measurement. Clear cache, close all tabs, close browser and reopen it, go to a black page and wait 60s.

changeDefaultSearchEngine

changeDefaultSearchEngine,Google

changeDefaultSearchEngine,Ecosia

Changes browser default search engine (Not supported on Firefox)

enableDisplaySiteAsDesktop

Enables display site as desktop. The browser and website need to be already opened.

disableDisplaySiteAsDesktop

Disables display site as desktop. The browser and website need to be already opened.

...