Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Cant start selenoid when --browsers-json passing as argument #295

Closed
MisterLight opened this issue Apr 22, 2021 · 1 comment
Closed

Cant start selenoid when --browsers-json passing as argument #295

MisterLight opened this issue Apr 22, 2021 · 1 comment
Labels
Milestone

Comments

@MisterLight
Copy link

MisterLight commented Apr 22, 2021

It seems --browser-json flag isnt working:

./cm selenoid start --force --browsers-json "./browsers.json"

Using Docker

  • Your Docker API version is 1.41

Downloading Selenoid...

Configuring Selenoid...
Requested to sync configuration from "./browsers.json"...

  • Pulling image selenoid/chrome:89.0
  • Pulling image selenoid/chrome:90.0
  • Pulling image selenoid/firefox:86.0
  • Pulling image selenoid/firefox:87.0
  • Pulling image selenoid/opera:74.0
  • Pulling image selenoid/opera:75.0

Pulling video recorder image...

  • Pulling image selenoid/video-recorder:latest-release
    x Failed to start: open /Users/kaio/.aerokube/selenoid/browsers.json: no such file or directory

As I think it supposed that cm create the default folder (aerokube/selenoid) first and then copy the content from target json to the one that it using. Problem its doesnt creating the default folder. If I created it manually before run the command then works.

I also try to run "./cm selenoid start --config-dir "/test" --force --browsers-json "./browsers.json", using config dir flag but is still giving me the same error

Using Docker

  • Your Docker API version is 1.41

Downloading Selenoid...

Configuring Selenoid...
Requested to sync configuration from "./browsers.json"...

  • Pulling image selenoid/chrome:89.0
  • Pulling image selenoid/chrome:90.0
  • Pulling image selenoid/firefox:86.0
  • Pulling image selenoid/firefox:87.0
  • Pulling image selenoid/opera:74.0
  • Pulling image selenoid/opera:75.0

Pulling video recorder image...

  • Pulling image selenoid/video-recorder:latest-release
    x Failed to start: open /test/browsers.json: no such file or directory
@vania-pooh vania-pooh added the bug label Apr 25, 2021
@vania-pooh vania-pooh added this to the 1.8.1 milestone Apr 25, 2021
@vania-pooh
Copy link
Member

You are right.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants