question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

browser option : chrome not found

See original GitHub issue

I’m trying to run my testcases through cypress though the following command :


$- npx cypress run --browser chrome --headed

and it gives the following output for the same:

$-Warning: We failed to remove old browser profiles from previous runs.
This error will not alter the exit code.
[object Object]
Can't run because you've entered an invalid browser.
Browser: 'chrome' was not found on your system.
Available browsers found are: electron

and also by UI :

$- npx cypress open

image

its not showing chrome as option. any idea how i can solve this issue ? is there any path info i need to add in my code? as electron is working fine.


windows: 10 cypress : 3.1.2 chrome: 70.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
DovRinecommented, Nov 27, 2018

Confirmed on arch linux: 4.19.2-arch1-1-ARCH running google-chrome-stable. Creating a symlink to /usr/bin/chrome did not help. Clearing app data did not help.

5reactions
chli283commented, Jan 31, 2019

cypress run --browser chrome

and it gives the following output for the same:

Can't run because you've entered an invalid browser.
Browser: 'chrome' was not found on your system.
Available browsers found are: electron

NOTES: win 7 chrome 71 in my system

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Ways to Fix Browser: Chrome Was Not Found on Your System
Usually, the error, browser: 'Chrome' was not found on your system occurs because the chrome.exe file is not installed in the default folder....
Read more >
Fix problems installing Chrome - Google Chrome Help
In the "Find a setting" search box, type Firewall. Click Allow an app through Windows Firewall. Click Change Settings. Click Allow another app...
Read more >
Chrome not showing as an option for default browser (Fixed)
1. First go to Default Apps in Windows Setting. 2. Scroll down to find Set defaults by app as the last option and...
Read more >
Fix: Can't set Chrome as default browser Windows 10 - Appuals
Solution 2: Downloading another browser and working around · Press Windows + R button to bring up the Run Type “control panel” in...
Read more >
Fixed: Chrome Browser Not Open/Working in Windows 10 ...
1. Open Chrome and type: chrome://settings in the address bar and hit Enter to enter Chrome settings page;. Repair Chrome not working issue....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found