Command Line Usage

Parashuram N edited this page Mar 7, 2014 · 3 revisions

Command Line


$ browser-perf url options

where url is the url of the page to load.


  • -s --selenium= Url where the selenium server is running. This could be

    • http://localhost:4444/wd/hub for a local selenium
    • for testing on saucelabs
    • when testing on browserstack
    • localhost:9515 when chromedriver is started directly.
  • -u --username= the username for browserstack or saucelabs. The app automatically sets it in the capabilities object in case of browser stack, or in selenium url in case of saucelabs.

  • -a --accesskey the secret access key for saucelabs or browserstack.

  • -c --config-file Specify a configuration file. This config file contains the JSON object specified in this options object. Options specified in the command line override those specified in the config file. See here for sample config files.

  • --prescript-file A selenium script to run before starting to measure the metrics. Usually used for login

  • -b --browsers A comma separated list of browsers. For specifying detailed browser configuration, the config file can be used. See the browser config API for details on how this can be configured.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.