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.

Could not run Firefox browser

See original GitHub issue

For workflow like this

name: Firefox

on: push

jobs:
  # hmm, seems when using container (that should have FF installed)
  # Cypress cannot find Firefox. This job just prints browser versions
  check-firefox:
    runs-on: ubuntu-latest
    # https://github.com/cypress-io/cypress-docker-images
    container: cypress/browsers:node13.6.0-chrome80-ff72
    steps:
      # help us who how we are running in the container
      - run: whoami
      - run: id
      - run: google-chrome --version
      - run: firefox --version

Getting the following error

whoami
root

id
uid=0(root) gid=0(root) groups=0(root)

google-chrome --version
Google Chrome 80.0.3987.87 

firefox --version
Running Firefox as root in a regular user's session is not supported.  ($HOME is /github/home which is owned by uid 1001.)
##[error]Process completed with exit code 1.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
manoadamrocommented, Feb 17, 2021

Solved, this solution works (thanks to gh community forum):

container:
  image: cypress/browsers:node13.6.0-chrome80-ff72
  options: --user 1001

I’m still getting error while loading shared libraries: libgbm.so.1 with that

0reactions
github-actions[bot]commented, Mar 9, 2020

🎉 This issue has been resolved in version 1.23.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox won't start - find solutions - Mozilla Support
This error is caused by a problem with Firefox program files. The solution is to remove the Firefox program and then reinstall Firefox....
Read more >
Firefox does not work - Common fixes to get you back up and ...
Find solutions to Firefox issues like crashing, not starting, slowness and websites not loading.
Read more >
Troubleshoot and diagnose Firefox problems - Mozilla Support
1. Restart your computer · 2. Clear your cookies and cache · 3. Restart Firefox in Troubleshoot Mode · 4. Reinstall Firefox ·...
Read more >
Firefox won't start, can't work out why - Mozilla Support
Here's what I've tried so far: - Restarting - Reinstalling - Deleting my Firefox profile and all Firefox app files - Launching in...
Read more >
Cannot open firefox - Support Forums
Make sure your Internet security software is up-to-date (i.e. you are running the latest version). · Remove Firefox from your program's list of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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