Questions tagged [selenium]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
71 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
0answers
16 views

What is #!/usr/bin/env python in selenium webdriver? [duplicate]

What is #!/usr/bin/env python in selenium webdriver?l know how to install it, but what is this #!/usr/bin/env python??Sorry if this question is asked a lot of times or my english is bad.
0
votes
0answers
25 views

Response mismatch in flask server hosted in a docker swarm

So i have a selenium application running in the flask, so whenever i send a url, it will respond back with the html content. So to scale the application i used docker swam ( launching multiple ...
0
votes
0answers
65 views

WebDriverException - Compatability Selenium Geckodriver - Firefox

Im running selenium with a geckodriver on Ubuntu 16.04.3 I'm getting this error WebDriverException: Message: invalid argument: can't kill an exited process which I understand has to do with ...
0
votes
0answers
181 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
346 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 ...
1
vote
0answers
458 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 ...
0
votes
2answers
575 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 ...
0
votes
2answers
2k 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
102 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
481 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
813 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
3k 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
660 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
398 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
166 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
148 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 ...
1
vote
1answer
757 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
9k 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
382 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. ...
9
votes
3answers
57k views

How to install and set up Selenium webdriver on Ubuntu 16.04?

What should I do in order to install Selenium Webdriver in Ubuntu 16.04?
0
votes
0answers
543 views

selenium , importing problems [duplicate]

Can't import selenium: I have: ubuntu 16.04 , python 3.5.2 I successfully piped selenium pip3 install selenium selenium in /usr/local/lib/python3.5/dist-packages But when I try to use, I get from ...
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
976 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
558 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....