Questions tagged as 'selenium'

0
answers

java.lang.NoSuchMethodError: com.google.common.base.Preconditions

I have the following error: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V at org.openqa.selenium.remote.service.DriverService.findExecut...
asked by 14.03.2018 / 13:18
0
answers

Simulate a "command + v" in Selenium web driver

I have a program made with ruby and selenium chromedriver. In windows to simulate a ctrl + v to the next line user.send_keys(:control, "v") and it worked correctly. But when doing it on Mac I could not. Try with user.send_keys(:c...
asked by 02.03.2018 / 16:23
1
answer

Create archives .log with Selenium results

I will try to explain as clearly as possible, the situation is this: I have the following project structure: The directory where these two folders are located is code. Inside ISV1 / testing I have the .py scripts of the tests I want...
asked by 29.01.2018 / 22:58
2
answers

Run sequential test cases in the same browser Selenium Webdriver

Good day for everyone, I have a question about using selenium webdriver, and I would like to know how I can run test cases sequentially without closing the browser, for example: Suppose I have the following test cases: 1. Login 2. Create Orde...
asked by 06.02.2018 / 19:39
0
answers

capture screen in sikuli as evidence

I want screen capture for each step in my test cases, I have not found a good practice please Help, I am using sikuli with Eclipse and Java selenium Annex my Code for more understanding Code public class Factura_Nueva { WebDriver screen; Ex...
asked by 25.01.2018 / 17:24
1
answer

custom headers in PhantomJS selenium WebDriver

I need to establish through headers, the browser I use. Because I use PhantomJS, the website I want to go to says that it is not compatible, so now I want to pass the phantomJS as a chrome or firefox. I know it's possible, but I do not find t...
asked by 03.01.2018 / 16:07
1
answer

Is there any way to skip a captcha on a scheduled task?

It has given me the doubt that if in python with selenium it could be skipped or avoided, a captcha. Those that validate if you are a robot or not. Before, these validations seemed foolish to me, since being a programmer, I find it inco...
asked by 03.01.2018 / 21:28
1
answer

Sort by attribute selected nodes with xpath [duplicate]

I am scraping a web whose information is in a table with the following structure. <tbody> <tr class='Leaguestitle'> <td>...<\td> <td>...<\td> <\tr> <tr id='tr1_abababa'>...
asked by 23.12.2017 / 22:50
1
answer

Xpath and attributes of the father

I'm scraping a web with the following structure <tbody> <tr class='Leaguestitle'>...<\tr> <tr id='tr1_abababa'>..<\tr> <tr id='tr2_abababa'>..<\tr> . . <tr id='tr1_acacaca'>..&l...
asked by 16.12.2017 / 23:08
0
answers

Selenium - InternetExplorerDriver does not find the xpath

Good morning everyone! I am using the Explorer control "InternetExplorerDriver" I can initially authenticate on one page but! when it goes to a second page it does not find the xpath that I put. Example Try Dim IExploreDrive As IWe...
asked by 26.10.2017 / 18:42