Relative Content

Tag Archive for python-3.xselenium-webdriver

Python selenium, unable to open tabs after receiving the ‘first’ error

I am trying to run a script which is supposed to open several website to search in using selenium and chrom
For each site in the array it will open a new web tab and run a search in this site.
I either modify the web address to include the search GET request or search for the “Search” filed, enter the search text and hit “Enter” or press the correct button.

chrome web driver not working in docker container

We use python -selenium for our web automation.
Untill few days the code was working perfectly fine few days ago on the server .
All of sudden after a new build things started to fail.
also tried a simple code .Which i tried to run in a docker container locally .
The problem is same its stuck at driver = webdriver.Chrome(options=options) but works locally on system
attaching Docker file and Py file .
Note: Tried with latest version as well

Not closing all instances of Selenium browser in Python

I’m using Selenium in Python to scrape a lot of web pages on a daily basis and found it was leaving instances of Edge open in /tmp/ which eventually filled my linux drive space.
The folders left in /tmp/ look like that:-