Questions tagged [selenoid]

Selenium Hub successor running browsers in Docker containers

Selenium Hub successor running browsers in Docker containers https://aerokube.com/selenoid/latest/

134 questions
3
votes
2 answers

CDP with Remote webdriver. 'WebDriver' object has no attribute 'execute_cdp_cmd' python

I'm trying to run tests with CDP, webdriver.execute_cdp_cmd('Network.enable', {}) with Remote webdriver (in Selenoid). But getting this error: AttributeError: 'WebDriver' object has no attribute 'execute_cdp_cmd'. In local environment it works…
3
votes
1 answer

Is there any way to retain only the failed test's video in Selenoid?

Is there any way to configure Selenoid-video file to detect and delete the passed test videos and retain only failed test videos? if not, rename or tag the failed test video as failed ?
rmz
  • 31
  • 2
3
votes
1 answer

Unhandled inspector error - {"code":-32000,"message":"Object reference chain is too long"} in selenoid

Selenoid version - 1.10.0 Chrome version - 85.0 Docker image - selenoid/vnc_chrome:81.0 Exception - org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32000,"message":"Object reference chain is too…
Manikandan
  • 31
  • 2
3
votes
2 answers

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died with ChromeDriver and Selenium

I'm running a bunch of test cases every hour using selenium-java 3.12.0; TestNG; Selenoid with docker, Jenkins. Sometimes (about 1 out of 10 cases) I get the error: org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with…
3
votes
1 answer

WebDriverException: unknown error: unable to unzip 'file' when I attached file with russian name

My selenide test failed with WebDriverException: unknown error: unable to unzip 'file' when it tried to send and attach file with cyrillic name "золотыещенки.png" at Selenoid. unknown error: unable to unzip 'file' from unknown error: archive error:…
3
votes
1 answer

Using Firefox does not work with the Java-Client, Chrome works well

Using a java client I experienced an error if I was using the firefox capability. Chrome worked well though. In the telegram support chat I found out that my selenium client version was too old for using firefox 55-56 (client: 3.0.1). Updating to…
cloudnaut
  • 982
  • 3
  • 13
  • 35
3
votes
1 answer

Selenoid: recording video of a running session

I'm using Selenoid live browser screen functionality to debug my tests. What is the recommended way to capture browser screen video?
vania-pooh
  • 2,933
  • 4
  • 24
  • 42
2
votes
3 answers

docker Selenoid chrome gives Timed out receiving message from renderer: 300.000

I'm getting this error when I'm running long test cases. mainly this happens with Jenkins. OS : Ubuntu 18.04 Docker Version: 19.03.8 Docker API version: 1.40 No Of Containers : 4 RAM : 30GB Processor : i7 9700k browsers.json { "chrome": { …
AMendis
  • 1,346
  • 4
  • 18
  • 34
2
votes
2 answers

How to install selenoid on Windows?

I don't understand how can I install selenoid on Windows 10. I'm using this tutorial: https://github.com/aerokube/selenoid/blob/master/docs/selenoid-without-docker.adoc I've downloaded last version of selenoid (v1.7.1) for Windows…
2
votes
0 answers

Context deadline exceeded

Selenoid is throwing context deadline exceeded after the tests runs for a while. Initially tests runs fine but somewhere after 15-20 mins, it starts throwing exceptions. Selenoid and Selenoid-ui is run using commands: ./selenoid -conf…
srinathbharadwaj
  • 125
  • 2
  • 13
2
votes
1 answer

How to pass flags to mobile Chrome using Selenoid Docker images

I am trying to have Chrome launch without the "Welcome to Chrome" screen and can't seem to figure out the correct way to do so using Selenoid with the provided Android Docker images. I used the automate_android.sh to create the container image and…
weyenk
  • 21
  • 1
2
votes
2 answers

How can I configure the value of `-container-network` in selenoid for every jenkins build?

Every Jenkins build creates a network before running the selenoid tests. e.g., Creating network "jenkinspr613build11_default". The network name is based on the PR and build number. The docker-compose.yaml file, had the below config for selenoid…
Deepti K
  • 590
  • 2
  • 9
  • 26
2
votes
2 answers

How to connect to Selenoid browser container with VNC?

I know what I can use Selenoid-UI to connect to running webdriver container using my browser. But is there any ability to connect to container using one of VNC clients?
Ivan Baranov
  • 27
  • 1
  • 5
1
vote
0 answers

No audio playback using Selenium with Selenoiod docker run on AWS EC2

Issue: Audio not working in Chrome when using Selenoid Docker with remote WebDriver Description: As an automation developer, I am currently facing an issue with audio playback in Chrome when using a remote WebDriver with Selenoid Docker. The…
ohadshay
  • 225
  • 1
  • 3
  • 16
1
vote
2 answers

Rename video record in after hook ruby

Hi I have implemented Selenoid in my project and by default it names the video records like 'selenoid + browser session id.mp4', which I want to change to timestamp with scenario name. Here's what I've done so far: def rename_video_files(scenario,…
1
2 3
8 9