Questions tagged as 'selenium'

1
answer

Selenium / WebDriver code stops running after reading worksheet 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 file = new FileInputStream(new Fil...
asked by 08.05.2015 / 16:25
1
answer

Wait page load for selenium in python

I created a program to log into 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 has times that takes 50 seconds and the error and has hours it takes 20 seconds and it i...
asked by 22.10.2018 / 19:11
1
answer

Get each line of a CSV file

I need to get data from a CSV file and store it in an array. Example: CAIO ; 0909;abacaxi BRUNO;1231;maça I have to take for example line 1, and each value of each column store in a variable to play in a theft function (Selenium). The...
asked by 08.08.2018 / 20:26
1
answer

Selenium + Python error when using time.sleep ()

I'm automating a task on a website using python + selenium. Every time I use time.sleep() will run sleep time it returns this error. ConnectionAbortedError: [WinError 10053] Uma conexão estabelecida foi anulada pelo software no computa...
asked by 29.06.2018 / 20:18
1
answer

Extract the li list with xpath

Hello, I'm developing an application with java + selenium I have the second web element: WebElement results = ( new WebDriverWait( driver, timeout ) ).until( ExpectedConditions.visibilityOfElementLocated( By.id( "local" ) ) ); Where id...
asked by 30.05.2017 / 20:49
1
answer

How to use SelniunHQ to fill out forms with php?

I'm on a sleepless day ... trying to solve a problem that seemed simple ... I have data in a database and I need to fire that data to another site by filling in the fields coming from the database and submitting them. . I was trying to do curl,...
asked by 20.05.2017 / 20:01
1
answer

How to get text, in CSS element receiving 2 class

I need to collect text from an angled 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 return (the commented lines shows the attempt...
asked by 14.04.2017 / 23:13
1
answer

VBA: the underlying connection was closed: an unexpected error occurred 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 the title of the question Follow the code:...
asked by 10.02.2017 / 15:38
1
answer

Why use Selenium Webdriver? [closed]

I have this doubt, why use selenium as a "test", to hear that many do not use it because it is difficult to write ... but in a variety of job openings I see that knowledge is requested. The question is when and why to use Selenium     
asked by 15.02.2017 / 01:44
1
answer

How to identify an http (500) error via selenium web driver or javascript

I need to mount a script that will scan certain pages and find http errors, specific to 500. I thought about doing a selenium script, but I do not know a command that I can "read" this type of error. Can anyone tell me if selenium has any comman...
asked by 10.09.2016 / 05:03