Questions tagged as 'selenium'

1
answer

WebDriverException: Message: Expected browser binary location, but unable to find binary in default location

I am trying to use Selenium in Python 2.7 and it throws me the following error message.    WebDriverException: Message: Expected browser binary location, but   unable to find binary in default location, no   'moz: firefoxOptions.binary' capab...
asked by 19.10.2017 / 13:22
1
answer

Selenium to complete a form of a pop-up window in JAVA

Good morning friends, I'm doing the automation of an application, the problem is that the application seems to be developed using Javascript, I have the problem that I click on the "Add" button and it opens a pop up of a form ... but I can no...
asked by 05.05.2017 / 16:04
1
answer

I have an exception when I try to run my project and I do not understand why (Selenium and TestNG)

I have the following exception when I try to do some tests with selenium using testng, but it tells me that I have an exception caused by Selenium web driver; as I understand it is by FireFox but I do not know how to fix it. org.testng.TestNGE...
asked by 21.09.2016 / 23:43
0
answers

How to automate an explorer pop-up window

At the moment I automate with selenium (page object) a web page that does not allow me to eliminate these pop-up windows for the moment I control this action in the following way: try { driver.Keyboard.PressKey(Keys.Enter); } catch { } bu...
asked by 17.12.2018 / 16:57
1
answer

Avoid importing python twice

I have selenium imported in 1.py , and I want to open another file that uses selenium in 2.py , but 2.py ask to import it, is it necessary to import it again? Imports of 1.py : from selenium import webdriver from selenium.common...
asked by 02.12.2018 / 23:51
1
answer

How to know if a download of a file has occurred with Selenium webdriver in python

I'm doing a test that downloads a file. This already occurs, but my question is that if there is any way to verify that the download has been successful. Greetings     
asked by 26.11.2018 / 16:21
2
answers

Go through element list item by find_elements_by_class_name in Selenium Python

I'm starting with Selenium I have the following html code <!DOCTYPE html> <html lang="es" dir="ltr"> <head> <meta charset="utf-8"> <title></title> </head> <body> &l...
asked by 22.11.2018 / 12:52
1
answer

Open Profile Firefox with Selenium 3.0

Open a Firefox profile, start a web page in the browser. I have this code that works for me to open firefox and go to the page but it does not do it in the specific profile. Could you please give me a help, I have exhausted all the tutorials....
asked by 05.11.2018 / 18:59
1
answer

Selenium IDE and WebDriver

I have started a project of unit tests of a web. For this I have decided to use Selenium, but I have had a series of doubts and problems. Selenium IDE and the WebDriver are on the web, this second one seems to be a little abandoned, and gives...
asked by 26.10.2018 / 08:53
0
answers

Verify the connection of a selenium

I have an application in selenium of c # but during the execution it can happen that it is without internet connection. so I did it this way: try{ driver2.Navigate().Refresh(); }catch(Exception ex){ Console.WriteLine(ex.Message); }...
asked by 23.10.2018 / 22:51