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 property; for more information, see https://github.com/mozilla/geckodriver. I get this when I do clean installs of Codeception, PHPUnit and Steward [re-installed the … Read more

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 / failed at all. For tests, we’re using PHPUnit + Selenium … Read more

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 LTS (Virtual Server) After doing some research for a couple … Read more

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 or pass the test. I never had this happen on … Read more

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 “Congratulations! You may be our next lucky winner!”. How does … Read more

OpenQA.Selenium.WebDriverException : Error forwarding the new session cannot find:Capabilities {browserName: Edge, ms:extensionPaths: [C:\], platfor

I would like to ask a question on EdgeOptions class. I see that the DesiredCapabilities class has been obsolete or deprecated from selenium in favor of the BrowerOptions (i.e. EdgeOption. ChromeOptions, FirefoxOptions). Now I’ve tried to do remote cross browser testing with Edge, chrome and firefox. With the Firefox and chrome the cross testing work … Read more

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 file. FROM ubuntu:20.04 USER root WORKDIR /home/app RUN apt-get … Read more