Questions tagged as 'selenium-webdriver'

0
answers

Run existing function by selenium-webdriver's 'executeScript' method

I'm trying to run a function in the browser that is already set, but it is marked as undefined . I ran the following code to reproduce the problem: const webdriver = require("selenium-webdriver") const driver = new webdriver.Builder()...
asked by 28.04.2017 / 23:01
1
answer

Configure webdriver Firefox in Selenium

I'm using selenium (Python) to fetch some data from a website, at some point I access a link that downloads a file. How do I configure webdriver (Firefox) so that it automatically accepts the download, without which I need to click download?   ...
asked by 05.04.2017 / 17:14
1
answer

System.setProperty - Set path to chromedriver

I'm starting to tinker with tests using selenium and JUnit. I need to set the chromedriver.exe path. I would like to know if you have chromedriver.exe inside the project folder and set the path in a way that if someone else downloads the project...
asked by 28.03.2017 / 20:26
1
answer

problem to popular an option control type

I have a VBA code but I'm having trouble popping an element. When you have put data in the control the following error message appears: Run-time error '2146233079 (80131509)': unknown error: can not focus element ... Sub x() Dim ob...
asked by 26.12.2016 / 18:36
0
answers

Selenium c # - API Mass testing

Good afternoon, 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 are logged in TestManager online and via Xpath takes the mass data...
asked by 20.05.2016 / 18:57
1
answer

Trigger alert using Selenium in Java

In addition to manipulating javascript alerts with Selenium WebDriver , would it be possible to invoke Selenium code runtime alerts in the browser? I would like to create the 3 javascript alert types below using selenium : alerta...
asked by 09.11.2018 / 20:59
1
answer

Using Selenium how to select two different elements that have the same ID?

My attempt with xPath or ID was unsuccessful. var options = new ChromeOptions(); options.AddArgument("--disable-gpu"); var chromeDriver = new ChromeDriver(options); chromeDriver.Navigate().GoToUrl("http://radar.tntbra...
asked by 03.10.2018 / 19:43
2
answers

Chrome bot error - ERROR: platform_sensor_reader_win.cc

I have a python application that performs some repetitive tasks by opening the chrome and using it as a bot (I can not make it available because I work with a stealth agreement), but when I run it, these errors appear and some sometimes the prog...
asked by 09.10.2018 / 19:34
1
answer

How to select a field and type in it with selenium?

I'm trying to select the input field but I'm not getting it. Error Traceback (most recent call last): File "C:\Users\Pichau\Desktop\Teste.py", line 7, in <module> elem.clear() File "C:\Python27\lib\site-packages\selenium\webdr...
asked by 03.05.2018 / 22:26
1
answer

How to get data from an object returned by Selenium with php?

I'm using Selenium + Chrome WebDriver and php to wipe data from a website, and for that I need to make a condition with the width of a column of a table on that site. I do this with the following code: $td3 = $driver ->findElement(WebDriver...
asked by 22.03.2018 / 16:46