Questions tagged [selenium]

Selenium is an open source, cross platform framework for automatic testing of web applications.

45 questions
1
vote
1 answer

Init Selenium RC on headless server

as described in [1] running Selenium RC on a headless Linux is pretty easy to achieve. Essentially this requires these commands: $ Xvfb :99 -ac & $ export DISPLAY=:99 $ java -jar selenium-server.jar & So how can I provide this right after the…
pagid
  • 127
  • 8
0
votes
1 answer

How much resources to allocate for a VM running a selenium remote control

Not sure if this belongs here or on stackoverflow... When I run my selenium tests, the cpu usage on the (windows) VM running the selenium RC goes up to 100% cpu usage for about a third of the time. I thought maybe I'm not allocating enough resources…
olamundo
  • 129
  • 1
  • 2
  • 7
0
votes
0 answers

Firefox and Chrome headless mode not working on VPS (Ubuntu 18.04 LTS) with Python/Selenium

I am trying to get Chrome running in headless mode with Python, but for some reason I only get a blank page back no matter what website I try to read. Google Chrome: v77 Chromedriver: latest version (tried older versions as well) OS: Ubuntu 18.04.3…
0
votes
1 answer

Jenkins builds not marked unstable/failed if PHPUnit fails

So, the title pretty much gives it away. We're using Jenkins 2 with PHPUnit 6.5.12 and a couple of days before, everything worked fine. Now, every build we do and has failures (or worse, errors) in the PHPUnit section is not marked as unstable /…
0
votes
1 answer

Setting up Selenium and PHPUnit on Ubuntu16

I'm trying to setup Selenium to run with a PHP binding. I keep getting this message: PHP Fatal error: Uncaught Facebook\WebDriver\Exception\UnknownServerException: The path to the driver executable must be set by the webdriver.gecko.driver system…
0
votes
0 answers

Proxy working in CLI but not with Chrome

I purchased a proxy and whilte-listed my server's IP address so that my server can connect to proxy without authentication. Its working fine in Ubuntu CLI, but when I open Chrome, it cannot connect to proxy and I get…
0
votes
0 answers

How to install google-chrome as non-root user on a remote server?

In order to use google-chrome for selenium-testing purposes (to be run headless of course) I want to install this on a remote server where I do not have root access. This server does not even have dpkg installed and uses spack as the package…
Alex
  • 105
  • 1
  • 2
  • 12
0
votes
2 answers

Purpose of Selenium in load testing

What is the role of Selenium in load testing a webpage if it cannot generate 200 or 300 requests? I understand, the client side automation can be done. But how do I test my web application for a real environment for 1000 or 2000 concurrent…
Vinayak
  • 73
  • 7
0
votes
0 answers

How to pass the chromedriver path to nodejs selenium-webdriver in Docker

Here is my docker file. FROM node:17.2.0 USER root WORKDIR /LT RUN apt-get update RUN apt-get install git --yes COPY /LT . COPY /LT/test . COPY ["/LT/package.json", "."] # Install Google Chrome RUN apt-get install wget RUN wget…
Jay
  • 103
  • 4
0
votes
1 answer

docker - nodejs - selenium-webdriver - Error: Server terminated early with status 127

I am a novice in a docker container. I am trying to create a docker file that has npm, node js, chromedriver and selenium-chromedriver and run my javascript file. In my local , I run the script in the headless chrome browser. Here is my docker…
Jay
  • 103
  • 4
0
votes
0 answers

Selenium Grid Helm Chart: Can I Run Multiple Versions Of Chrome Concurrently?

I am hosting a Selenium Grid instance in a Kubernetes cluster that was installed using the standard Helm chart. Things are working well but I don't see any value that can be used to install multiple versions of Chrome or Firefox. Has anyone else…
Tom Purl
  • 549
  • 1
  • 3
  • 13
0
votes
2 answers

Redirections, but only on a certain web browser

I have found some cheap SEO pages, whose only purpose is to promote some other sites by feeder links. On Chrome and Safari and Firefox, they show the SEO web page, but on Kiwi Web Browser on my Android phone, the page is redirected to…
mekineer
  • 11
  • 5
0
votes
0 answers

Do I need a ssl certificate for testing with selenium via vps server?

i am trying to Set up a vps Server with which i want to test Websites in the open Web by opening different chrome windows with the help of selenium. Now i wonder if i need a ssl certificate for doing that, because i do not host a Website and i…
neb737
  • 1
0
votes
1 answer

Google Compute Selenium intermittent connection issue

I'm trying out Google Compute. I have an issue I never saw on AWS. I'm using Ubuntu 16.04 / Codeception / Selenium / Chromedriver / Chrome to run a simple acceptance test. The thing is, it fails randomly. Without changing anything, I can either fail…
-1
votes
1 answer

Error running selenium grid chrome webdriver on amazon ec2

I set up selenium grid and node on amazon ec2.I am able to see grid and node configuration in the browser i downloaded latest chromewebdriver - 2.16 and put under usr/bin on my amazon ec2 linux machine. When i am trying to run a selenium test…
pk1223
  • 1
1 2
3