People who code: we want your input. Take the Survey

Questions tagged [selenium]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

How can I setup Maven project for selenium Tetsing on Ubuntu

Not able to setup maven project.getting some Build error.Can.Please guide me with the setup.
0
votes
1answer
156 views

Why I am getting errors -Permisssion denied for firefox and unknown error: DevToolsActivePort FOR chrome?

I am trying to setup google chrome, firefox along with selenium webdriver for webs scraping. Tools version- Google Chrome 89.0.4389.90 Mozilla Firefox 87.0 geckodriver 0.29.0 (cf6956a5ec8e 2021-01-14 ...
2
votes
1answer
412 views

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 ...
0
votes
0answers
252 views

Running Firefox as root in a regular user's session is not supported

My system: Ubuntu 20.04 (AWS) Python 3.8.5 Geckodriver 0.28.0 Mozilla Firefox 85.0.1 Using arsenic library instead of usual selenium. Error: mozrunner::runner INFO Running command: "/usr/...
1
vote
2answers
2k views

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 ...
2
votes
1answer
143 views

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 ...
0
votes
0answers
526 views

WebDriverException: Message: Process unexpectedly closed with status signal | How to run Selenium Firefox Geckodriver in Google Colaboratory?

Hey stackexchange community, I would like to run selenium for python, with firefox geckodriver in google recolab. I've found a post regarding this topic recently in which there's an answer by @...
0
votes
1answer
139 views

Cron doesnt output anything from python script if selenium is run headless

I've got a WEIRD problem, I've been banging my head against this issue for the last 2 weeks, googling around and drinking to wash away the pain of my failures. So here's the deal, when I run my alarm ...
0
votes
1answer
22 views

How to add chromedriver to path when there isn't anything like chromedriver?

I am trying to automate some stuff using selenium. I use Chrome for some reason but I can't instantiate Chrome that I am using normally. I used webdriver_manager, but it install Chrome again in ...
0
votes
1answer
99 views

Selenium default download directory settings is not working in Ubuntu 20.4 - files are not saved

I have this simple test script, which was working before, but it is not now after upgrading from Ubuntu 18.04 to Ubuntu 20.4 from selenium import webdriver import os, time WorkDir = "/tmp/test/&...
6
votes
3answers
742 views

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 ...
0
votes
0answers
35 views

Install error Chrome on ubuntu 18.04 on windows10 [duplicate]

I'm struggling with this problem for a few days now ;( I want to install Chrome and Chromedriver to use selenium on ubuntu, so I connected to Ubuntu 18.04 with Putty (windows 10 user) and write some ...
0
votes
1answer
2k views

Selenium chromedriver doesn't load javascript in webpage

I'm running python code in a VPS with Ubuntu 18. After much trying, I was able to run the selenium Chromedriver there headfully. Now, I'm finding that the webpages sometimes loads fully, but more ...
0
votes
0answers
87 views

Can't unzip the chrome webdriver of selenium for python3.5

I was trying to install the chrome webdriver for ubuntu 16.04, but every since I download it (it's a zip file) and extract by right-clicking and selecting "extract here" its giving me a text ...
0
votes
0answers
814 views

Java Selenium chromedriver error

Chromedriver is located at the same place as this file. import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public WebDriver getDriver(final String browser) { ...
0
votes
0answers
84 views

Slow network with Selenium Webdriver?

I’m running Selenium Webdriver on my digitalocean VPS (the $20 droplet plan) to interface some website and gather details about it. On my PC, it takes about half a second. My internet speed is about ...
0
votes
0answers
15 views

Chrome Opening Several Tabs

I'm using Chrome Browser with selenium and suddenly whenever I click my default Chrome, it opens several tabs in selenium by default. When I click Chrome from the launcher, it starts in selenium mode ...
1
vote
1answer
889 views

How to enable chromedriver in ubuntu for python script?

For a scheduled task I want the selenium webdriver to be executed with python script. I have tried the following solution: https://stackoverflow.com/questions/50117377/selenium-with-chromedriver-...
0
votes
1answer
403 views

How to Execute Build command in jenkins(Ubuntu)

I need to integrate a simple selenium script with Jenkins. Can someone please help me to get a shell script code to update in the build section. Currently, I am tried with run.bat file which returns ...
1
vote
1answer
2k views

How to load dll to C# in mono and run it

I have some Selenium test cases which were written in Windows. Now I want to run them in Ubuntu. I found a way to link my C# program and selenium dll using this solution, but I'm getting the following ...
2
votes
1answer
630 views

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 ...
1
vote
2answers
2k views

Python Selenium import error

I am trying to execute some python project and I am getting following error:- File "feed.py", line 17, in <module> from selenium import webdriver ImportError: No module named selenium I ...
1
vote
2answers
7k views

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 sp sp.Popen(...
0
votes
1answer
261 views

launch chrome browser on server and view locally on mac

I'm working with selenium in python 3.6 using chromdedriver. I'm running the code on my ubuntu server. It's in jupyter notebooks. I'm able to connect remotely from my mac to the jupyter notebook ...
2
votes
1answer
1k views

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 ...
0
votes
2answers
1k views

Fail connect remote jupyter notebook server possibly caused by chrome install

I'm trying to connect to jupyter notebook running on my remote server. The code below has been working fine for days to forward the jupyter notebook running on the port on my ubuntu server to my mac. ...
0
votes
0answers
4k views

ImportError: No module named selenium

I'm trying to run some python code from Visual Studio Code and I'm getting this error all the time:ImportError: No module named selenium. I've tryed to install again and again and I get this showing ...
1
vote
2answers
997 views

sudo apt install firefoxdriver does what?

Using Java for Selenium, and am curious about the firefoxdriver package. There are several python specific packages, but does firefoxdriver perhaps install the geckodriver to the system in a way ...
1
vote
2answers
587 views

Unable to downgrade firefox version using apt-get in Ubuntu

Note: This is not duplicate of How do I downgrade Firefox v. 57 to v. 56?. I have installed firefox using sudo apt-get install firefox Right now it is installing version 63.0 which has some issue ...
0
votes
0answers
195 views

How do I launch the Selenium IDE from the terminal with a specific test case loaded?

I've got as far as: firefox -chrome chrome://selenium-ide/content/selenium-ide.xul which launches the IDE, but I don't know how to launch the Selenium IDE with a specific test case loaded? for ...
0
votes
1answer
168 views

How to stop getting error message and two tabs when I ctrl + click on a link in gnome terminal

I'm on Ubuntu 16.04. I use google-chrome as my default browser. It works great when I open it from the terminal with google-chrome or google-chrome-stable. It also works great when I run my test ...
2
votes
1answer
828 views

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/...
1
vote
0answers
3k views

WebDriverException: Message: 'chromedriver' executable needs to be in PATH [duplicate]

IT IS IN PATH echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin/google-chrome-stable:/usr/lib/chromium-browser/chromedriver:/usr/lib/...
2
votes
1answer
12k views

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:...
1
vote
0answers
388 views

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. ...
11
votes
4answers
67k views

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)?
0
votes
1answer
3k views

How do I use the gecko executable with selenium

I use Ubuntu studio 16.10, and I have set up Selenium 3.0.1. I have then installed geckodriver, and used the following WebDriver driver = new FirefoxDriver(); System.setProperty("webdriver....
1
vote
0answers
1k views

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 ...
0
votes
1answer
585 views

Unable to install Selenium Python module in Ubuntu 14.04

I'm unable to install Selenium Python module. I've tried sudo pip3 install -U selenium . I actually tried to install it in a virtualenv. I got an error. A long way back I've installed pip3 and ...
3
votes
1answer
8k views

How is “chromium-chromedriver” package used? [closed]

Firefox selenium driver seems to be crashing (perhaps because I'm on Firefox-beta ppa?): >>> from selenium import webdriver >>> webdriver.Firefox <class 'selenium.webdriver....