Questions tagged [zalenium]

Allows anyone to have a disposable, flexible, container based Selenium Grid infrastructure featuring video recording, live preview, basic auth & online/offline dashboards

This is a Selenium Grid extension to scale your local grid dynamically with docker containers. It uses docker-selenium to run your tests in Firefox and Chrome locally, if you need a different browser, your tests can get redirected to a cloud testing provider (Sauce Labs, BrowserStack, TestingBot). Zalenium also works out of the box in Kubernetes.

Zalenium's maintainers add new features regularly. We invite you to test it, report bugs, suggest any ideas you may have, and contribute. See our contributing guidelines for more details.

91 questions
4
votes
0 answers

Zalenium: Access container files in java

I am trying to verify if an excel file has downloaded into a remote linux machine. I have used docker and Zalenium to run the test and the excel file is downloaded in a docker container (node). I'm having trouble getting started with JSch to achieve…
3
votes
0 answers

How to set up testing automation with the TestNG+gradle+Allure+Zalenium in GitLab?

We have tests for TestNG that run through the gradle task and then you can generate a report in Allure. Later we added the possibility to run tests in the container in Zalenium. How can I set up test runs in GitLab? Maybe there are some tutorials or…
PiNok
  • 31
  • 2
3
votes
2 answers

Automatically pull dependent image when running Zalenium from docker-compose.yml

I have the following docker-compose.yml file. When I run this I get the message "Please run 'docker pull elgalu/selenium', or use your own compatible image via --seleniumImageName". If I pull the image, my tests run fine. how can I pull the image…
2
votes
1 answer

How to set driver cookie from the Java Execution hook in Karate

Hi We have configured driver in the feature file. I am able to set the zaleniumTestStatus cookie from the feature file using And cookie({ name: 'zaleniumTestPassed', value: 'true' }) . I want to do same from the Java Hook. How do I get driver object…
2
votes
0 answers

Deploy zalenium on AWS cloud environment

We have a requirement to spin more than 50 selenium containers parallelly on zalenium. The current infrastructure we have doesn't support this requirement. I want to know if anyone deployed zalenium on cloud environment and used ECS or EKS services…
2
votes
1 answer

Zalenium launches chrome browser but doesn't kicks off test

I'm trying to run my test scripts on zalenium, though the browser gets launched(noticed in vnc) but the tests don't run on the container. I have noticed the below error in logs. Selenium version:
2
votes
1 answer

Docker-for-selenium on Windows

Currently selenium HQ/docker-for-selenium is available for Linux os. Here they are trying to implement selenium grid using docker, on Linux. My main aim is achieving the same in windows. I am unaware what challenges I will face here. So creating…
2
votes
2 answers

Selenium-Webdriver NodeJS Equivalent to Java Code for DesiredCapabilities

I have scoured the documentation (what little there is) for selenium-webdriver located here (http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_Capabilities.html) I can't find out what the equivalent…
Joseph Astrahan
  • 8,659
  • 12
  • 83
  • 154
1
vote
0 answers

Tests run in pipeline on Zalenium are more than four times slower than when running locally

I am using the Karate framework to write UI tests. When I execute a suite locally, it takes about 20 minutes to run around 40 test cases. However, when I run the build in the pipeline on Zalenium, it is taking about 2-3 hours. I am using Docker for…
hungryhippos
  • 617
  • 4
  • 15
1
vote
1 answer

Zalenium fails to start err : nginx: [error] failed to initialize Lua VM in /home/seluser/nginx.conf:107 - Mac M1

I am Trying to start Zalenium in Mac M1 it fails with below error Docker binary already present, will use that one. Docker version 18.09.0, build 4d60db4 -- LOG 10:31:39:034127379 Ensuring docker works... -- LOG 10:31:39:669157254 Ensuring…
ISGovind
  • 123
  • 1
  • 6
1
vote
0 answers

dosel/zalenium is executing the last created docker image instead of elgalu/selenium image

I have already pulled elgalu/selenium and dosel/zalenium using the the docker pull. Used the following code to start the zalenium: docker run --rm -ti --name zalenium -d -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock --privileged…
Rishov Das
  • 11
  • 2
1
vote
1 answer

Zalenium on kubernetes with 20-30 testcases in Parallel with multiple dynamic machies

I have around 4000 testcases to be executed. I have kubernetes setup for Jenkins, where dynamic machine is created for each job. I have around 50+ jobs and each job has around 2000 to 3000 testcases. How should be setup of zalenium on it. As of…
trupti
  • 11
  • 2
1
vote
0 answers

How to set docker path for Jenkins local? docker: command not found

I am trying to run Zalenium from Jenkins local installed on my Mac. I am able to execute tests locally from Eclipse by first spinning up docker from Terminal. Now I am trying to execute tests via pipeline. Here's the pipeline code: pipeline { …
Afsal
  • 404
  • 3
  • 7
  • 24
1
vote
1 answer

How to add cookie to Selenium IDE test running in grid via selenium-side-runner for Zalenium messages

I've recorded a test using Selenium IDE and am submitting the generated .side file to selenium-side-runner to run on a Selenium Grid built using Zalenium. Is it possible to run a command that calls driver.manage().addCookie() from the test that was…
1
vote
0 answers

Mark test as passed in Zalenium Dashboard

I am recoding Selenium Tests with SeleniumIDE, store them as side file and run them with selenium-side-runner on zalenium instance. Zalenium provides a way to show passed tests Under https://opensource.zalando.com/zalenium/ they state Marking the…
Alex
  • 32,506
  • 16
  • 106
  • 171
1
2 3 4 5 6 7