browsers.json are not
downloaded.
browsers.json file.
browsers.json.
path key in
browsers.json must be "/", not
"/wd/hub". For "firefox" the key stays
"/wd/hub". Be careful with this, otherwise the
browser won't start.
browsers.json (often confusion in the placement of
underscores or colons when specifying image version; ChatGPT is
guilty of this). For example, instead of
selenoid/vnc_chrome:128.0 it's written
selenoid/vnc_chrome_128.0.
docker-compose.yml (volumes).
browsers.json, UI doesn't connect to Selenoid, and
videos aren't written. Check directory mounting (paths specified
as volumes)—this is a common error.
video folder:
environment: OVERRIDE_VIDEO_OUTPUT_DIR: /root/selenoid_with_video/videoYou can't use
${PWD} or ./video here—an
absolute path is required! You can read more about this in the
official documentation:
aerokube.com/selenoid … video_recording.
docker pull selenoid/video-recorder:latest-release.
You do not need to add this image to docker-compose.yml; it will
start automatically—the main thing is to download it once.
Configuration.headless = true;The value should be removed completely or replaced with
Configuration.headless = false;If there's no screen, there's nothing to record.
localhost to access an
application running outside the container—specify the real host IP
address. Configuration.baseUrl = "http://192.168.0.127:3000";Incorrect example:
Configuration.baseUrl = "http://localhost:3000";An IP address is required here, not localhost, because this URL is used in the address bar of the browser opened in the Docker container, and if you specify localhost, the container will assume the application is running inside the same container, but it is not.