Most voted "selenium" questions
Selenium is an integrated development environment for automated test scripts.
Learn more…332 questions
Sort by count of
-
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
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
answers202
viewsIs it possible for Selenium to reuse a manually opened session?
The idea is to open any browser (Chrome, Firefox, Opera...) by any means (command line, for example) with the exception of Selenium itself. And then connect Selenium to that session that existed…
seleniumasked 4 years, 7 months ago Filipe Toyoshima 21 -
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…
-
2
votes0
answers33
viewsModulenotfounderror trying to use Behave, Selenium and Python
Rewriting the code from a previous exercise, this time using Behave. Problem is I can’t even begin because I can’t import with the necessary functions. My directories are these: -Curso_de_Selenium…
-
1
votes0
answers569
viewsSelenium/Junit - Authentication screen not saved/executed
I’m doing a POC for using Selenium + Junit 4 for functional interface testing in a web tool. The tool in question requires authentication when opening the URL, and the test was saved to the Selenium…
-
1
votes2
answers1106
viewsorg.openqa.Selenium.Elementnotvisibleexception: Element is not Currently Visible and so may not be interacted with Command Duration or timeout
This exception happens when the some tests run on Amboo. The strange thing is when I run locally it works and are random tests that break. Someone’s been through it? The Exception is this:…
-
1
votes1
answer1512
viewsSelenium/Webdriver code to run after reading spreadsheet with Apache Poi
My test code using Selenium/Webdriver stops running after reading Apache Poi data. Can anyone tell me why? //poi WebElement searchbox = driver.findElement(By.name("simcard")); try { FileInputStream…
-
1
votes1
answer927
viewsBrowser window control with Selenium
I am automating an operation on a particular site and at a given time I need to make a download, I can authorize the download by clicking on the link but after that I lose control because it opens a…
-
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
answers64
viewsField search when opening a modal
Good morning, I’m doing a test with Selenium, then when I do a survey within a field, it opens a modal, not enabling the search when clicked on a button. the error that gives is this, I click a…
seleniumasked 8 years, 11 months ago maycon malicheski 11 -
1
votes1
answer830
viewsLog errors with Selenium Webdrive in C#
Good night! I’m organizing my test suite and looking for the best ways to create a bug report when a test fails. I’ve already implemented a log in. txt with the test name that runs (using…
-
1
votes1
answer514
viewsHow do I Autodetect firefox with Selenium webdriver in c# (Visual Studio)
I need to select the Autodetect before running my Firefox profile script, because in the browser’s network settings is coming how to use system settings. That way I can’t even open the system. I…
-
1
votes1
answer1614
viewsVisible but not yet clickable element
In my automated tests with Selenium, I have a method that waits for the element for a certain time, until the element is visible on the screen (Visibilityofallelementslodby). However, when the…
-
1
votes1
answer1631
viewsLoop to fill an input with multiple data - Selenium Webdriver
How to loop to scan an array and bring its data one by one and fill in the input? The picture illustrates well the problem... I need For to pass several times through the method and take the data…
-
1
votes2
answers2416
viewsJavascript function to generate valid CNPJ
I need to generate valid CNPJ for the tests I am performing, but I do not know how to create a function in Javascript and adapt it to Selenium IDE. I even found on the Internet the script, but I…
-
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
answer498
viewsElementnotvisibleexception Selenium
I’m trying to log in to www.pactpub.com using the following idea def setUp(self): self.driver = webdriver.Chrome(executable_path='C:\_workspace\projects\Packtpub\chromedriver')…
-
1
votes1
answer492
viewsWhy use Selenium Webdriver?
I have this doubt, why use Selenium as a "test", hear that many do not use because it is laborious to write...but in several job vacancies I see that knowledge is requested knowledge. The question…
seleniumasked 7 years, 9 months ago Guilherme Lima 3,129 -
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
answers776
viewsError while interpreting special characters
I’m looking for an element, and so far so good, I’ve tested it again and again, but.. by using this code driver.find_element_by_xpath('//*[@data-qtip="Configurações"]').click() gives an error, and…
-
1
votes1
answer1145
viewsHow to use Selniunhq to fill out forms with php?
I am days without sleep.. rs , trying to solve a problem that seemed simple to me... I have data in a database and I need to fire that data to another site by filling out the oriúndos fields of the…
seleniumasked 7 years, 6 months ago José Darci Rodrigues Jr 55 -
1
votes0
answers91
viewsSelenium tests on Linux
I have a test suite with 36 fonts, Windows runs smoothly, Centos gives the error: Chrome failed to start: exited abnormally. It is interesting to mention that when I run the tests 1 to 1 the problem…
-
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
answers577
viewsSelenium opening two browsers even I instantiating only one
Galley, I am using Cucumber with Selenium in JAVA. I have the following problem: every step I do: private WebDriver driver; @Before public void before(){ driver = new FirefoxDriver(); }…
-
1
votes1
answer180
viewsSelenium perform task to the end
In tests with Selenium, running by Eclipse, when I run several at the same time. Errors happen: First, does not finish running the task opens another browser. Starts running the second test without…
-
1
votes1
answer487
viewsUpdate Frame Selenium VBA
Expensive, How can I update a frame with Selenium in VBA? Updating frame is an option that exists when right-clicking on some frame. I can’t update the whole window, only the frame.…
-
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
answer266
viewsSelenium + Python error when using time.Sleep()
I am automating a task on a website using python + Selenium. Every time I use the time.sleep() will run the time of Sleep returns this error. ConnectionAbortedError: [WinError 10053] Uma conexão…
-
1
votes0
answers36
viewsIs it possible to read Chrome Devtools data using Selenium?
I would like to know if there is any function of Selenium that allows reading data/logs from the panels of the Chrome devtools. Specifically: Read full-page HTML structure, or any specific element.…
-
1
votes0
answers66
viewsDriver does not wait for page to load to proceed
Hi, I’m using Selenium to run some tests and then export the code to the eclipse. I’m trying to gettext a page that uses ajax using xpath, and then I’m trying to authenticate with assertTrue, but…
-
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 -
1
votes1
answer1296
views -
1
votes1
answer3314
viewsclassnotfoundexception error
Good afternoon, which means the mistake to follow? Class not found stancedriver.StanceDriver java.lang.ClassNotFoundException: stancedriver.StanceDriver at java.net.URLClassLoader.findClass(Unknown…
-
1
votes1
answer2076
viewsSelect an option from the Selenium Python drop down menu
I have a menu that presents several options, I want to select only the one that is active. When I give 'variable'. find_element_by_id('key') Selenium returns me ALL options. The active option has a…
-
1
votes1
answer209
viewsSearch Widget for <Value> Selenium
I am developing an automation and the site does not define me something standard element, and its class is used in other elements so I would like to search it for its value. it is possible? <span…
-
1
votes1
answer1158
viewsFill JS Form - Web Scraping in Python - Selenium and Phantomps
Friends. I’m developing a code to access the Anbima, fill in the fields and download the generated txt. I have been looking for a solution to this problem for a few days. So far, I have found that…
-
1
votes1
answer382
viewsPython: select checkbox in an orderly way
I have a list containing hundreds of data in the format [ '5008489', 'Órgão: MPF', 'PROCEDIMENTO DO JUIZADO ESPECIAL', 'CPF', <selenium.webdriver.remote.webelement.WebElement…
python checkbox selenium selenium-webdriver web-scrapingasked 7 years, 2 months ago Bergo de Almeida 181 -
1
votes1
answer95
viewsReverse loop Selenium python
I’m trying to do a reverse loop on my list of li in Lenium and it’s not rolling. I’ve tried one reversed in the list but error. I want to loop the last one li until the first. For example, in the…
-
1
votes1
answer48
viewsHow to download more than one Chromedriver file without asking for download authorization
I’m trying to download more than one file by Chrome and keeps popping up the permission message would have some way to automatically accept…
-
1
votes1
answer317
viewsParallel tests using Selenium/Testng and Database
I have 1165 test cases and it’s taking 36 hours to run + run it all in 3 different browsers and I’m going crazy with this delay. My question is whether it is possible to run parallel tests using…
-
1
votes0
answers359
viewsSelenium works with Firefox, but not with Chrome
I was normally using Firefox on Selenium with Python, but I wanted to do some testing using Google Chrome, so I made the following change: self.driver = webdriver.Firefox() To self.driver =…
-
1
votes2
answers563
viewsSelenium (list of elements of a class)
Greetings ! I want to open all the elements (not repeated) of a class, each in a new tab, how do I do it ? My attempt: lista_elementos = driver.find_elements_by_class_name('card-action') for i in…
-
1
votes0
answers34
viewsMake it open and reopen every time a number of Python and Selenium tabs
I need this code of mine every hour to make the process of reopening all tabs or setting up or just closing everything and running this code every hour. Has as? from selenium import webdriver import…
-
1
votes0
answers88
viewsSelenium 3.8 + Firefox 56/57 does not run on Background
I have a service currently running with Firefox 46 + Selenium 2.53. However I need to update it and I’m trying to use Firefox 56 or 57 with Selenium 3.8. When I run on my machine the service runs…
-
1
votes1
answer25
viewsSearch in mobile live element
I’m doing test automation in the company where I work, using Java/Selenium and I’m facing a problem when doing automation in the app, because the structure they use here for development is alive, so…
-
1
votes0
answers18
viewsUsing a Selenium Browser session in another navigation
I have a project in Selenium that logs in to a site and returns in an endpoint the cookies generated in that login. Another project consumes these cookies and injects it into your own browser to…