This is a short tutorial on how to run Selenium .NET Application in Docker with xvfb and Firefox (GeckoDriver). Some tricky parts with how to run xvfb-run command in docker and how to install firefox in Debian buster-slim docker image
Disable logging in Selenium ChromeDriver
Just a code snippet with a ChromeDriver configuration to run Chrome browser in a headless mode with the least possible amount of logging.
Xvfb: Run Selenium In Headless Mode With Any Browser
Xvfb is a simple program to redirect output to a virtual framebuffer. You can run any application in a headless mode, including Selenium, Chrome, and Firefox. This will help you run your Selenium test scenarios event on Raspberry Pi.
Selenium ChromeDriver on RaspberryPi
Unfortunately, Google doesn't make AMR32 (armv7l) builds of ChroreDriver anymore. The latest version of chromedriver-linux32 was released for version 2.33 But there is a solution, people from the Raspbian project have compiled chromium-chromedriver version for the armhf platform and added it to the repo.
Speed up Selenium WebDriver's page parsing time
If you are using Selenium WebDriver as a web crawler and thinking that it's too slow, welcome inside! In this article, we will see how to make page parsing time around 50 times faster. As an example, I will parse comments from another article from this blog. I will first parse it using default WebDriver API (FindElement... methods) and then will compare it to CsQuery Here is WebDriver parsing code: var driver = new ChromeDriver(); driver.Navigate().GoToUrl("/2014/07/fixed-setup-was-unable-t...
[Mono] Selenium with headless ChomeDriver on Ubuntu Server
If you want to run C# application (mono) with Selenium ChomeDriver on Ubuntu Server 16.04 in headless mode, you definitely should read this article. We will use Xvfb as X server, this will let us emulate "headless" mode because Xvfb performs all graphical operations in memory without showing any screen output. Install mono sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian whe...