Utkarsh Maurya
Utkarsh Maurya

Reputation: 11

How to launch Chrome browser instead of Chromium in Taiko

How to launch a Chrome browser instead of Chromium in Taiko? I am unable to launch Chrome or another Chromium-based browser.

Upvotes: 0

Views: 1377

Answers (2)

d4rdilip
d4rdilip

Reputation: 1

In windows command prompt, you can use like:

  1. set TAIKO_BROWSER_PATH=/path/to/chrome.exe
  2. taiko

When taiko is launched, it will display the path of the browser. One more thing, each time you open a new cmd prompt, you need to set the TAIKO_BROWSER_PATH env variable. Or you need to set it permanently in windows global env variables.

Upvotes: 0

Srikanth Venugopalan
Srikanth Venugopalan

Reputation: 9049

You can install chrome (or any chromium based browser), and these environment variables :

TAIKO_BROWSER_PATH - set this to the location of the browser executable (in this case chrome's path)

Additionally, you may set TAIKO_SKIP_CHROMIUM_DOWNLOAD to speed up taiko install, if you do not plan to use the bundled chromium.

ref: https://docs.taiko.dev/#taiko-env-variables

Upvotes: 2

Related Questions