Questions tagged [selenium]

Selenium is a popular open-source tool for automating web browsers.

Selenium is a portable software testing framework for web browsers automation. Selenium provides a test domain specific language (DSL) to write tests in a number of popular programming languages, including Java, C#, Ruby, Groovy, Python, PHP, and Perl. Test playback is possible in most modern web browsers.

47 questions
12
votes
4 answers

How can I install and set up Selenium WebDriver on Ubuntu 16.04?

What should I do in order to install Selenium WebDriver in Ubuntu 16.04 (Xenial Xerus)?
A. Alam
  • 121
  • 1
  • 1
  • 3
8
votes
3 answers

Cannot create a crontab job for my scrapy program

I have written a small Python scraper (using Scrapy framework). The scraper requires a headless browse... I am using ChromeDriver. As I am running this code on an Ubuntu server which does not have any GUI, I had to install Xvfb in order to run…
Hooman Bahreini
  • 518
  • 1
  • 7
  • 24
4
votes
1 answer

What's the difference between Try Ubuntu and Install Ubuntu option in VirtualBox?

What is the difference between "Try Ubuntu" and "Install Ubuntu" option? I have VirtualBox on my Windows 10 and have downloaded Ubuntu ISO on my desktop. I have configured the VirtualBox and provide Ubuntu ISO for Virtualbox. I get two options -…
3
votes
1 answer

How is "chromium-chromedriver" package used?

Firefox selenium driver seems to be crashing (perhaps because I'm on Firefox-beta ppa?): >>> from selenium import webdriver >>> webdriver.Firefox >>> webdriver.Firefox() Traceback (most recent…
NoBugs
  • 1,390
  • 5
  • 22
  • 48
3
votes
2 answers

Chrome - DevToolsActivePort file doesn't exist

My system: Ubuntu 20.04 (AWS) Python 3.8.5 ChromeDriver 88.0.4324.96 Google Chrome 88.0.4324.182 Error: unknown error: DevToolsActivePort file doesn't exist The process started from chrome location /usr/bin/google-chrome is no longer running, so…
Aram Gishyan
  • 71
  • 1
  • 2
  • 7
3
votes
2 answers

How to make python wait for a program to stop before going to the next line of code

I'm creating a script in python that will open a program then python will wait for that program to close itself before continuing to the next code. Here is my script: Import subprocess as…
3
votes
2 answers

I want to install selenium webdriver in my Ubuntu 16.04 system for python

When I install Selenium I get the following error: Shubham@Shubham-To-be-filled-by-O-E-M:~$ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] Hit:2 https://repo.skype.com/deb stable InRelease …
shubham bansal
  • 33
  • 1
  • 1
  • 3
2
votes
1 answer

Always launching google chrome in incognito mode

I am using ubuntu 20.04. I want to launch google chrome always in incognito mode by default. Is this possible in ubuntu. I read its not a common practice to do this. And will it have any effect if we use selenium chrome driver for scraping purpose…
imhans33
  • 65
  • 5
2
votes
1 answer

Can I run multiple scraper at the same time using cron jobs?

I have schedule some crontab jobs to scrape a number of websites. I have set some cron jobs to run the scrapers at 1 AM, scraper_1 starts on 1:01, scraper_2 starts on 1:03 and scraper_3 starts on 1:05 Each scraper may take 3 to 6 mins to complete,…
Hooman Bahreini
  • 518
  • 1
  • 7
  • 24
2
votes
1 answer

How to run Selenium Grid on Ubutnu 20.04

I have Ubuntu 20 VPS. I would like to run Selenium grid on it. So I have downloaded selenium .jar file and I am able to run hub and nodes on the server. But as I see I am able to register node from outside the VPS machine e.g. from my local machine…
Čamo
  • 669
  • 3
  • 8
  • 23
2
votes
2 answers

Selenium issues webdriver

im very new in this. I'll try to explain everything and im sorry before hand if i say something nub I'm trying to make Selenium wokrs in Linux Server, so it's just commands. Everything is already installed (Chrome - chromedriver - python -…
Nembone
  • 21
  • 2
2
votes
1 answer

How to setup Selenium for Firefox in Kubuntu 18.04 properly

for an upcoming automation project I want to utilize Selenium for Firefox. I followed THIS GUIDE. Now when I want to run the mentioned script from within that guide using 'node /path/to/script/scriptName.js, a Firefox window pops up for a milisecond…
parrott
  • 173
  • 7
1
vote
0 answers

How to setup Selenium testing environment in Ubuntu 16.04

I have just switched from Windows to Ubuntu. I want to set up a Selenium testing environment. I got the eclipse setup but not getting Selenium IDE for Firefox browser which is compatible with Ubuntu. Can anybody please help me?
1
vote
0 answers

how to download a specific version of selenium with pip

I want to install selenium via a requirements.txt with pip. So I put selenium==2.53.0 into my requirements.txt. However, when I do pip install -r requirements.txt it says Could not find any downloads that satisfy the requirement selenium==2.53.0…
1
vote
0 answers

Running Selenium with UI on Ubuntu Server to be displayed on the remote computer's display

I have a remote computer with Ubuntu Server 22.04 running. I have some python scripts that use Selenium. I would like Selenium to display the web browser's UI on the remote computer's VGA display. Currently, if I run the script through ssh -X the UI…
1
2 3 4