Questions tagged as 'selenium-webdriver'

1
answer

Does not find element with findElementById

Expensive, I'm trying to fill two text fields (login and password) of a particular page. Using the following code. (Both by byID, bySelector, none works) driver.findElementByName("usuario").SendKeys MyLoggin When debugging the code, when...
asked by 28.02.2018 / 16:46
1
answer

Select option select

Expensive, I'm trying to select an option on a select with the following code and I can not find a solution. I can find the element, but do not tell it to select X option. I'm locating with the following code: driver.findElementByXPat...
asked by 01.03.2018 / 23:14
1
answer

Error recognizing WebDriverWait

I'm running a unit test in C # with Selenium WebDriver and when trying to enter the code WebDriverWait it is not found. > I'm using the namespaces below and still do not recognize them. OpenQA.Selenium; OpenQA.Selenium.Chrome; System.T...
asked by 05.09.2017 / 17:26
3
answers

How to get the text of a span?

For example, in this line of code I need the "x + 10 = 10". Does anyone know how to do it? <span class="task" onclick="loadExercise(201)" id="task201">x+10=10</span>     
asked by 30.11.2016 / 20:16
1
answer

Does anyone have an example code using Marionette in Java for testing automation? [closed]

I need a code sample using marionette with Java for testing automation, I read a few things, but I still can not understand how it works.     
asked by 11.08.2016 / 16:18
0
answers

How to add tor proxy settings in chrome browser with c # and selenium

I need to open the chrome browser with Tor proxy settings using selenium. I have achieved success with firefox but it is not very agile, so it is necessary to use chrome. The problem is that I do not know how to apply the settings to chrome....
asked by 28.12.2018 / 20:31
0
answers

How do I make selenium (jUnit) switch between open windows?

When I click the button, the browser opens a new window, I look for the element in the open window and can not find it. I think he has not changed to the new window and is still looking at the old window. Error:    org.openqa.selenium.NoSu...
asked by 31.10.2018 / 13:44
1
answer

Read user input via JavaScriptExecutor or promt in Selenium Webdriver C #

I have 4 test environments. When running the Selenium script, I want the user to tell me right after the browser opens, in which environment the script should run. So the script will direct the test to the correct environment. Example:...
asked by 07.11.2018 / 18:20
0
answers

Problem with selenium in python

I made a program to download 64 invoices, it goes well until the ninth, but when it arrives in it selenium stops clicking without error All elif get a different id and perform the same action with it, but when it arrives at the ninth elif it...
asked by 25.10.2018 / 15:37
0
answers

Problem To open multiple links with selenium in python

I have a list of addresses, where I need to click on each element in the list, then click the access button on the screen, but I'm only able to click on the first element ... Follow my code and page code, if you can help me, I've been there f...
asked by 16.10.2018 / 22:30