Most voted "selenium" questions
Selenium is an integrated development environment for automated test scripts.
Learn more…332 questions
Sort by count of
-
12
votes1
answer4268
viewsHow to get any kind of cookie using Selenium?
Summary To summarize everything I said here below, I need to open Whatsapp Web read the QR Code and save cookies so that at the next Selenium startup I do not need to read the QR Code again. I found…
-
10
votes2
answers1005
viewsWhen finishing the script with "Ctrl+C" (Keyboardinterrupt) does not close Selenium Firefox
I am using Selenium to manipulate a page, while running the script it opens firefox, but what I wanted to do is this, if any problem in the script or if the user finishes, I want firefox to close as…
python selenium firefox selenium-webdriver geckodriverasked 7 years, 1 month ago Wictor Chaves 8,445 -
7
votes3
answers3334
viewsClose Windows popup in Java (Selenium Webdriver)
I am testing a site in java and need to close a Window pop-up, the problem is that I tried to use Selenium to close it and I could not. Is there any simple way to close it using JAVA? You don’t need…
-
7
votes1
answer1102
viewsPrint window, save PDF Selenium Webdriver
After developing a web page, I am developing the automated testing of this one. I am using Selenium Webdriver com for . NET. After clicking the print button, the popup to choose the printer or…
-
6
votes2
answers675
viewsRun Python command with Selenium called by PHP through Apache
I want to run the following script in Python by a web site on the server: #!/Python34/python from selenium import webdriver driver = webdriver.Firefox()…
-
5
votes2
answers1701
viewsSelenium problem with get!
What I desire Open a browser using Selenium, accessing a website (e.g..: http://www.google.com) driver.get("http://www.google.com"); and write a search in his text field element.sendKeys("Cheese!");…
-
5
votes2
answers2447
viewsHow to automatically download PDF to Selenium? With Python
I am using Python with the Selenium webdriver to automate the download of multiple PDF files. I get the PDF preview window. And now I would like to automatically download the file without popping up…
-
4
votes3
answers1665
viewsTest automation on web pages
I would like the indication of tools to record the data entry on the page. I have already used the Selenium IDE, Selenium Web Driver. I saw that there is the iMacros. I am programming in JSF, Java…
-
4
votes0
answers890
viewsFill CPF + Data field with java webdriver Selenium mask
I’m having trouble filling in Date and CPF fields with mascara via id or xpth in Selenium+java+Junit. Does anyone have any idea how to do?. NOTE: I don’t want to generate CPF...I want to fill out…
-
4
votes1
answer76
viewsI can’t run code after the cycle is
I am using Selenium as Crawler on a website. I have no experience with python. Here I create a dataframe with the data of a .csv df = pd.DataFrame.from_csv( 'tabela_etickets_copa3.csv', columns =…
-
4
votes2
answers3815
viewsSelenium WebDriver_ Access page without opening browser
Can anyone tell me if it is possible to access the page without opening a browser? That is, do the tests without opening the browser. Is there any way? If there’s a light. I’m using the Firefox…
-
4
votes2
answers2038
views -
4
votes1
answer1266
viewsWeb Scraping Selenium + Python on JS-generated website = difficulty mapping elements
Good afternoon. I am developing a script that: accesses a system; within the environment, you will find certain information; generates a kind of report; creates a spreadsheet with the data. My…
-
3
votes1
answer494
viewsPhpunit and Selenium - How to call specific functions of the test script?
I need to create several test scripts for WEB using Phpunit and Selenium. I was successful with my initial tests. I even managed to test the login and logout of my website effectively. The problem…
-
3
votes2
answers2488
viewsTest coverage using Sonar
I wonder if anyone there has ever used the Sonar to do coverage analysis of tests, I have the following problem, I have two projects. Project A: It is implemented my tests using Selenium + Testng…
testing integration continuous-integration selenium sonarqubeasked 10 years, 3 months ago guilhermeNatan 33 -
3
votes1
answer298
viewsSelenium + Chromedriver
I am developing a tool to log in to a site, but I have a problem. When I do the manual procedure (opening browser, accessing website, entering user/password and logging in), the next one is loaded…
-
3
votes2
answers1494
viewsSave part of a text in a Selenium IDE variable
I have the following text:: Criado por Comprador em 14/05/2015 - 16:18 I would like to save in a variable only the part 14/05/2015 - 16:18 Could someone give me a light on how to do in Lenium IDE ?…
seleniumasked 9 years, 6 months ago Rodrigo Santos 49 -
3
votes2
answers3878
viewsCatching first and last date of the previous month
I am using in Eclipse Selenium, for automatization of sending commands to a site, through JAVA files. On this site, I need to make a date query. I did so to test: element =…
-
3
votes1
answer128
viewsEclipse is corrupting url in automated testing
Good afternoon, you guys! I’m doing an automated test, exporting in java to run in eclipse. The test runs normally in Selenium, but when I play pro eclipse Rs the page url deforms and the test does…
-
3
votes1
answer1215
viewsConfigure Firefox webdriver in Selenium
I’m using Selenium (Python) to fetch some data from a site, at a given time I access a link that downloads a file. How to configure the webdriver (Firefox) to automatically accept the download,…
python selenium selenium-webdriver web-scrapingasked 7 years, 7 months ago Wellington Araujo Nogueira 41 -
3
votes1
answer1680
viewsC# SELENIUM - How to read elements of a web page by keyword mention
I’m creating a bot that searches a word in google and writes in a txt file all links found in the search I am currently trying to find a keyword on the search result page, store the links that…
-
3
votes2
answers1042
viewsPython - Selenium send_keys() does not work in this form field
I made the correct identification with xPath, the software . clear() works perfectly, however send_keys does not work at all. Follow the HTML code of the form: <input id="yui-gen19"…
-
3
votes1
answer44
viewsSnapshot generated by Selenium is very large
Good afternoon, everyone. I am using Firefoxdriver in version 2.53.0 and when taking snapshot of a site is being generated an image with very large dimensions (111159x17555). Does anyone know a way…
-
3
votes0
answers520
viewsDownload file with Selenium Chromedriver in headless mode
I am trying to download a file in headless mode. I installed the driver like this: public static IWebDriver CriarWebDriver() { var options = new ChromeOptions();…
-
3
votes1
answer1193
viewsWeb scraping with Python (Selenium and Request)
Hello, I am trying to perform a web scraping on a page protected by login, I have already managed to access both via Request, and via Selenium, the problem is after login. The page is as follows:…
-
3
votes1
answer446
viewsSelenium on Node.js, Webdrivererror how to resolve?
I am using windows, using Node.js with Selenium to do automation of a website. my problem and they are giving error in function click(). Code below is the example already ready when type npm install…
-
2
votes1
answer2289
viewsCopy page text and paste into another with JAVA or Selenium Webdriver
How do I copy a text from a web page and paste it into an input on another page, with java or Selenium Webdriver?…
-
2
votes2
answers1371
viewsSelenium, how do you control the speed of the test run?
Creating automated C# testing using Selenium, I want to know how to control test execution speed?
-
2
votes1
answer2713
viewsCheck the existence of an element with Selenium
I am automating a site and in a certain part it presents a listbox that when one of its options is selected if it has available values it presents a table with these values. What I want is to make…
-
2
votes1
answer1351
viewsClose the browser only after running all tests with Selenium Webdriver c#
I am developing tests with Selenium webdriver in C#, for each test class the browser is initialized and after running all tests of this class the browser is closed. How do I initialize only once and…
-
2
votes3
answers836
viewsI can’t find an element for Id
I’m automating an operation on a website with Selenium Webdriver and in a particular region of the site when sending a wait using the WebDriverWait it exceeds the maximum time and does not find, but…
-
2
votes1
answer1002
viewsTo check if a checkbox is checked and if so, uncheck it in the Selenium IDE
I need to perform a test on the Selenium IDE with the following situation I have a page where there are 3 columns with multiple rows ( Field name, Status, Editable? ) In my test, I need to check if…
seleniumasked 8 years, 6 months ago Felipe Barbosa 21 -
2
votes1
answer140
viewsHow to identify an http (500) error via the Selenium web driver or javascript
I need to build a script that scans certain pages and locate http errors, specific to 500. I thought about making a Selenium script, but I don’t know a command that I can "read" this kind of error.…
-
2
votes1
answer60
viewsIs it possible to integrate SELENIUM IDE testing into Github?
I have some tests with the SELENIUM IDE and would like to integrate it with a repository on Github. It is possible?
-
2
votes2
answers398
viewsSelenium Python
I’m having trouble manipulating popup. Apparently, the popup code is generated in real time, not being captured by Selenium. In fact, it is possible to see the use of jQuery, I did not detect Ajax,…
-
2
votes1
answer1590
viewsOpen another instance of Excel while VBA runs
I created an Excel application that extracts information from the internet, directly to it through the Selenium IDE Webdriver. However, while this application runs, I cannot open a new spreadsheet,…
-
2
votes0
answers1271
viewsTest automation with Selenium Cucumber and Capybara
I’m starting to learn how to use a means for test automation in web applications. However, I came across a problem that I can’t solve and I can’t find anywhere (questions or documentation) that…
-
2
votes4
answers2850
viewsSelenium cannot find by id
I’m running a test with testNG along with Selenium org.openqa.selenium.By Test, do this search: driver.findElement(By.id("idRoleCheck:0")).click(); Gives the following error:…
-
2
votes2
answers2493
viewsError using Selenium Webdriver in Python
I’m trying to develop a script in Python that simply open the browser as shown on that site Selenium with Chrome, but every time I try to run the program I come across the following error: browser =…
-
2
votes0
answers170
viewsProblem with Selenium x C# x Chrome
Good afternoon. I have a web application made in c#. I need to do an integration via Selenium with another site and I’m having the following problems: When instantiating the webdriver for Chrome…
-
2
votes1
answer110
viewsError: "Selenium.common.exceptions.Webdriverexception: Message: Unknown error: Element is not clickable at point"
I’m setting a series of "checkboxes" in a variable lista. Then I run the variable through a loop so that only a few of them are clicked. But when the checkbox is not visible on the screen, Selenium…
python python-3.x selenium selenium-webdriver webdriverasked 7 years, 1 month ago Bergo de Almeida 181 -
2
votes1
answer4368
viewsRun Selenium in Chrome invisibly (headless)
I’m doing a program in Python 3.8 using Selenium and Chromedrive, to access a website through Google Chrome. When it is time to run, the program opens two windows, one of Google Chrome and another…
-
2
votes0
answers106
viewsElements/Images Problems in Selenium Django
I’m having some element problem not load correctly on the page of ChromeDriver using Selenium in my Django app. I shook Django’s test tool because in my scenario, I need the entire base loaded. And…
-
2
votes1
answer42
viewsHow to save PDF from a site in Azure Functions?
I am developing an application where I will have to make a Crawler on a specific website. The application will contain an endpoint to an Azure Function where Crawler will capture. So far so good,…
-
2
votes1
answer157
viewsHow to open a browser with Python, Selenium and geckodriver?
I wrote an automation to follow people on instagram, but when I put Run in the code, it returns me in the log with no error, and still doesn’t open the browser for me to test the code. I think…
python selenium browser instagram geckodriverasked 3 years, 9 months ago Gleidson Marques dos Santos 21 -
2
votes1
answer3380
viewsWait page for python Selenium
I created a program to log in to the site, but it loads very slowly when it opens, and for that I need to put Sleep(40), which waits 40 seconds to open, but sometimes it takes 50 seconds and error…
-
2
votes3
answers711
viewsDrive Alert using Selenium in Java
In addition to handling javascript alerts with Selenium Webdriver, it would be possible to invoke Selenium code execution-time alerts in the browser? I would like to create the 3 types of javascript…
-
2
votes1
answer221
viewsProblems using Selenium module with Firefox
I’m using: Debian version 9.6 Python 2.7 Selenium 3.141.0 Firefox 60.3.0 I’m trying to learn how to use Selenium with Python but I haven’t been able to do anything yet. There is always some error, I…
-
2
votes0
answers75
viewsHow to reuse the same browser in a test suite with Selenium and c#?
Every time a test suite is started the Openbrowser method of the Tbbrowser class is started and a new browser is opened, I wanted to reuse it, it is possible? ublic class Tbbrowser { public static…
-
2
votes2
answers252
viewsInterpolate variable name in ruby
Hello, I am developing a test automation where I have a variable that receives dynamic values, according to the test run. In the case of the contents of each element changes according to the…