Skip to content

With 19.3.1 docker image its asking to install chrome #4072

Open
@aliasgerkw

Description

@aliasgerkw

Describe the bug
Hello,

I pulled latest docker image locally docker pull ghcr.io/marketsquare/robotframework-browser/rfbrowser-stable:19.3.1 and executed my own requirement txt (having only few differences from default)

After doing rfbrowser init when I am triggering pabot command getting error

Error: browserType.launch: Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome
Run "npx playwright install chrome"

To Reproduce

$ rfbrowser init
======================================================================
Installing node dependencies...
Installing rfbrowser node dependencies at /home/pwuser/.venv/lib/python3.12/site-packages/Browser/wrapper
npm warn config production Use `--omit=dev` instead.

added 81 packages, and audited 82 packages in 1s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Installing browser binaries to /ms-playwright
npx --quiet playwright install
rfbrowser init completed

and run pabot command
pabot --processes 10 --pabotlib tests

Expected behavior
Suite should start on chrome browser with default configs, I assume this docker is equipped with all playwright browser dependencies and should not require any new installations.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closeable?This issue should be closed?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions