Start, Stop, and Switch Browsers

Open browsers in multiple test conversations, called browser sessions, and switch between them.

Every browser session controls an instance of a browser. You can open multiple sessions within one instance of a Performer, but subsequent commands are always directed at the current browser session.

You can change your current browser session using the "switch to session" command.

CommandExamplesExplanation
start <browser>start chrome

Starts an instance of a new browser, assigns it a unique browser session ID, and makes it the current session at the top of the browser stack. <browser> can be one of the following:

  • chrome
  • google chrome
  • firefox
  • mozilla firefox
  • edge
  • microsoft edge
  • ie
  • internet explorer
  • microsoft internet explorer
start <browser> as <browser session name>start chrome as "Administrator login"

As above, but allows the user to assign their own browser session name to the browser.

<browser session name> can be a single word, or multiple words enclosed in quotes.

This command form is especially useful when you want to start and switch between multiple browser sessions.

switch to session <browser session name>switch to session "Administrator login"Pushes the named session to the top of the stack, making it the current browser, so that any subsequent commands will be directed to its browser. The previous named session - if there are more than one - gets pushed down the stack.
quit sessionquit sessionQuits the current browser session at the top of the stack, and removes it from the stack. This closes its associated browser, and releases all resources associated with it. The next session on the stack, if there is one, becomes the current one.
quit session <browser session name>quit session "Administrator login"Quits the named browser session. If this is not the session at the top of the stack, it's simply removed from the stack. If it is the session at the top of the stack, the next session on the stack becomes the current one.
quit allquit allQuits all sessions and empties the stack.
test that browser version is <comparison> <browser version>



test that browser version is greater than or equal to 60

Ensures the test browser version in the current session is the minimum (and/or maximum) required.

Valid comparisons are:

  • equal to
  • greater than
  • less than
  • greater than or equal to
  • less than or equal to
  • Browser version is expressed in dot-notation, with an unlimited number of segments. Note that: version 60 is less than (not equal to) version 60.0.3112, which is in turn less than 60.0.3112.113.
  • version 60.0.3112.113 is less than 60.0.3112.113.0.
test that browser version is less than 61
test that browser version is greater than or equal to 60.0.3112