Comments (6)
- We decided to not implement this sync feature in
cm
code because is can be easily solved with existing command line tools. Take a look at the following documentation section: http://aerokube.com/selenoid/latest/#_syncing_browser_images_from_existing_file - Now regarding
--browsers-json
. This flag in fact specifies where anotherbrowsers.json
file (with completely different contents) is located. This second file stores information about webdriver binaries and is used only when Docker is not installed. So by defaultcm
downloads this file here: https://github.com/aerokube/cm/blob/master/browsers.json So this flag is useless in your case.
from cm.
@vania-pooh Thank you for the follow up.
Regarding point 2; understood - not what I thought it was intended for.
Regarding point 1, I understand the function of the command (pulling images from dockerhub based on the versions in a browsers.json
file) but I don't see how that fits in to configuring Selenoid with the available browsers. My expectation is that I am able to produce a aerokube/selenoid
image that when spun up as a container has the above browsers.json
(firefox v28 only) in /etc/selenoid/browsers.json
(or has it passed to it) - is this correct or am I going about it the wrong way using cm
?
from cm.
@marksievers currently there is no way to download an exact version. The only supported feature is to download last N versions of the browser. E.g.:
$ ./cm selenoid start --browsers firefox,chrome --last-versions 10
In your case --last-versions
should be something like 26 (v54 - v28), but this will download v28 and all versions newer than it. So if you wish only v28 - currently we expect to create such config manually as it is rather rare case. The most popular case is to have last N versions this is why we implemented it. Another flag --browsers
allows to limit desired browsers (comma separated without space).
from cm.
@vania-pooh Awesome, thank you for the clarification!
And wonderful suite of tools again, really well done!
from cm.
As an update on this, what I did find worked for me was the following:
- As Ivan mentioned, using jq to pull the required images.
- Using the
selenoid
standalone binary which DOES accept a custombrowsers.json
using the--conf
flag.
from cm.
@marksievers selenoid
accepts any valid configuration. cm
is a one command setup.exe
for the most common cases able to automatically pull images and generate config. That's the difference.
from cm.
Related Issues (20)
- Logs directory path wrong on Windows HOT 5
- Hybrid mode to use local browser like Safari, with other docker containerized browsers HOT 10
- Configure CM in compose HOT 22
- Change logs and video volumes location
- How to use Selenoid server remotely HOT 5
- new machine breaking Chrome HOT 4
- Question about settings HOT 6
- Can't create Selenoid session HOT 4
- Version 1.8.3 does not work under Linux
- Browers.json file being saved outside of selenoid docker container HOT 3
- Docker Rootless (not supported) HOT 4
- Mac M1 - when starting cm (1.8.4), can not access Docker HOT 5
- Configuring Selenoid via CM with Video-Recording possible? HOT 2
- Forbid to run CM with sudo
- CM proxy registry with subpath HOT 2
- Failed to initialize: [can not access Docker: make sure you have Docker installed and current user has access permissions] HOT 1
- CM may start selenoid container in different network than one of the browser containers HOT 3
- Browsers.Json Not Mounting On Linux x64 HOT 3
- Can not access Docker on MacOS HOT 2
- Support Docker API 1.44
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cm.