Most voted "selenium-webdriver" questions
Selenium is one of the most known and used tools today to carry out automation tests acceptance in web applications through the use of the browser.
Learn more…229 questions
Sort by count of
-
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
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…
-
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
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…
-
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
votes1
answer427
viewsHow to configure Appium using Selenium Web Driver (C#) - Visual Studio
Good afternoon, I read some blogs about setting up Appium, but I’m still a little lost. I need to set up Appium using the Selenium Web Driver in the VS (C#). Currently working with Eclipse and…
-
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
answer527
viewsProblem with special python characters
I have a bot made in Python with the Selenium webdriver, which takes some data from Tesouro Direto and generates a json, however I am facing a problem, which occurs when a special character appears.…
-
3
votes1
answer363
viewsScript execution error in python in Laravel controller
Currently my scripts work perfectly within Schedule that run at specific times within my server cron. The problem is occurring when I try to run the method inside the controller, this method…
-
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
votes2
answers395
viewsC# With Selenium - Doubt about xPath
I am automating a page function and when it will click on the error image, finally I have tried several things, my doubt is the following the xPath that I am sending is correct? <div…
-
3
votes1
answer763
viewsEnable or maximize program window
I have a JAVA program that uses Selenium Web Driver to access some pages and print them. I print by simulating the Ctrl+P keys and then Enter. The problem: There are several pages and several…
-
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
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
answer126
viewsWebdriver error in Python3.5 Attributeerror: can’t set attribute
I need to download the contents of a website. I made a code in python 3.5. When I turn it only to a single page the code works very well but when I put it in a loop or function it gives error. The…
-
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
votes0
answers66
viewsUse Python to run tests on TFS
Hello! I would like to know how to use Python to run tests on TFS. My intention would be to generate a script via Selenium Webdriver, turn the code into Python and use it in TFS to run automated…
-
2
votes2
answers4670
viewsHow to use Selenium Webdriver findElement(By.xpath())?
Hello, please, I am trying to get information on a public website: name of a vote, date and table with voting list This site:…
-
2
votes1
answer478
viewsStatic properties and memory release
I’m having some doubts regarding the release of resources for cases where my modifiers are static. My project is unit test and I’m using Selenium for the first time. public class LoginTest : Base {…
-
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
votes1
answer1609
viewsClose ok button in popup with Selenium Driver
I am developing a test tool using Java driver Selenium. The portal I’m testing presents a pop-up or a dialog box, where it has an OK button. My tool needs to press. clik() on this button,I cannot…
-
2
votes1
answer1609
viewsSet the download location and name of each downloaded file - Selenium Webdriver C #
I’m doing an automation using Selenium with Chrome Webdriver. The application has to make a series of downloads that need to be saved with different names (Report Date + Type) and in folders that…
-
2
votes1
answer170
viewsRselenium error - Selenium message:Java heap space
Hello, I’m trying to make a scraping of http://acervo.estadao.com.br/ using Rselenium, because the page only generates the information in html when it is loaded in the browser. Well, when it…
-
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
answer1973
viewsHow to upload files using Selenium Webdriver in Java
Can someone help me to upload a file using Selenium using Java code? I made the code below: firefoxDriver.findElement(By.xpath("//a[@ng-model='picFile']"));…
-
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
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
answer299
viewsAdding proxy settings in Chrome browser with c# and Selenium
I need to open the Chrome browser with Tor proxy settings using selenium. I was successful with firefox but it’s not very agile, so you need to use Chrome. The problem is I don’t know how to apply…
-
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
votes1
answer930
viewsRselenium - "This version of Chromedriver only Supports Chrome version 74"
I’m trying to use the Rselenium, but it seems that the chromedriver version has been updated and is returning the following error: "Selenium message:Session not created: This version of Chromedriver…
-
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…
-
2
votes1
answer220
viewsHow to authenticate to a Firewall web page via Powershell/Selenium?
I developed several Powershell scripts to automate the configuration of machines I work on, speeding up and avoiding the heavy work of manually setting up a giant number of stations. Basically they…
-
2
votes2
answers181
viewsImport of python modules
I’m having a problem with python. I have a python code file working with Selenium, and I have another python file working on JSON. These two codes are inside the same folder, for me to import a…
-
2
votes0
answers36
viewsIF inside While Selenium
I am checking two fields using Selenium, when I have run the script I noticed that it never enters the IF condition, even meeting the requirements, always goes straight to ELSE. Can anyone tell me…
-
2
votes0
answers46
viewsSelenium.common.exceptions.Nosuchelementexception: Message: Unable to locate element: //div[@class='classificacao_run points']//table
Hello, I made a python webscraping on mozzarella and it worked. However, when I tried to apply the code on another site, I’m getting the title error message. In practice: When running the program…
-
2
votes0
answers91
viewsSystem.Diinotfoundexception: Failed to find library "leptonica-1.80.0.dll" for Platform x86
I am developing an application in Winforms using OCR Tesseract, whenever I run the application on localhost works perfectly, but when I publish or send the folder bin to another computer appears the…
-
1
votes2
answers3781
viewsWait time to execute new action [Selenium] [C#]
I’m starting with test automation with Selenium Webdriver in the language C#. I have a question, I have to do the test wait for the page to load to perform a new action. How do I do this? I believe…
-
1
votes0
answers132
viewsSelenium c# - API Mass of tests
Good afternoon, you guys. I have a problem, and your help is important. I have a mass of tests written in Testmanager online and my scripts are in visual studio 2015. My VS scripts log in to…
c# visual-studio-2015 team-foundation-server selenium-webdriverasked 8 years, 6 months ago Anderson Alves 31 -
1
votes1
answer212
viewsDoes anyone have an example of code using Marionette in Java for test automation?
I need an example of code using Java Marionette for test automation, I read a few things, but I still can’t understand how it works.
-
1
votes2
answers4524
viewsHow do I switch between open windows?
I need to make the webdriver navigate between open windows. I’ve tried:this.chromeDriver.SwitchTo().Window(chromeDriver.WindowHandles.Last()); but I can’t use Last(). Are you missing any using?…
-
1
votes1
answer404
viewsNo tests found with test Runner 'Junit 4'
When creating a new package and within that package create a new test when trying to run the test the eclipse returns the message: "No tests found with test Runner 'Junit 4'" Within the project I…
-
1
votes1
answer787
viewsSystem.setProperty - Set path to chromedriver
I’m starting to mess with tests using Lenium and Junit. I need to set the chromedriver.exe path. I wonder if you can leave chromedriver.exe inside the project folder and set the path in a way that…
-
1
votes2
answers1412
viewsSelenium Webdriver
I am learning to program test automation using Selenium Webdriver with Java, but when I run the same test in Firefox and Internet Explorer the following message appears: Exception in thread "main"…
-
1
votes1
answer1007
viewsHow to validate the download of files using Selenium Webdriver?
Hello, I wrote an automation test on the Selenium Webdriver using C#, and one of the steps requires downloading an XLSX file from the server. How can I validate whether the file has been…
-
1
votes0
answers162
viewsHow do I upload the image in this case
Each time I try to upload the image either by disk or by a link on the internet I get, error in the line where is the instruction of find_elemento. I ask someone to try to upload to this particular…
selenium-webdriverasked 7 years, 3 months ago romo 31 -
1
votes1
answer148
viewsproblem to popular an option type control
I have a VBA code but I’m having problems to the popular one element. When having put data in control appears the following error message: runtime error '2146233079 (80131509)': Unknown error:…
-
1
votes1
answer480
viewsVBA: the underlying connection was closed: unexpected error on a receipt
I have a VBA project that interacts with web pages using the Seleniumwrapper reference. In Windows vista business the application works normally, however, in Windows 7 appears the error reported in…
-
1
votes1
answer1589
viewsRedeem values with equal class names using Selenium
I have a situation where I need to rescue values from a array of article's, however I’m not trying very successfully. My HTML is this way: <section class="list"> <article class="card">…
-
1
votes1
answer418
viewsHow do I go through the Firefox Insecure Connection alert page with Geckodriver?
How to pass certificate error screen (insecure connection) with Geckodriver Firefox Webdriver? I’m hitting a URL that displays this alert. I already added in the browser exceptions, but the problem…
-
1
votes1
answer1359
viewsHow to pick up text, in CSS element receiving 2 class
I need to collect text from an angular system, where the element receives 2 CSS classes <div class="title ng-scope">80</div> I tested several ways to capture the text, but it does not…
python python-3.x selenium selenium-webdriver phantomjsasked 7 years, 7 months ago DaniloAlbergardi 347