Questions tagged as 'webdriver'

1
answer

Error: "selenium.common.exceptions.WebDriverException: Message: Unknown error: Element is not clickable at point"

I'm setting a series of " checkboxes " in a lista variable. Then I run the variable in a loop so that only a few of them are clicked. However when the checkbox is not visible on the screen, Selenium does not click and displays the e...
asked by 05.10.2017 / 00:54
1
answer

Can I use a variable to set a path in FileStream?

I have a test script in Selenium Webdriver using C # in which I read data from an external .txt file. The path to the file is fixed in the script, indicating a folder on my computer. But in the future other people will run this script on othe...
asked by 23.06.2018 / 19:13
0
answers

Selenium does not find the element

I'm starting to study Selenium WebDriver and I'm doing some testing. I created a fictitious account on an e-commerce site to automate a product purchase. I can access the page, log in and go to the main screen, but in this page I try to sear...
asked by 15.05.2018 / 02:57
0
answers

Selenium works with Firefox, but not with Chrome

I was normally using Firefox in Selenium with Python, but wanted to do some testing using Google Chrome, so I made the following change: self.driver = webdriver.Firefox() To self.driver = webdriver.Chrome() It opens Google Chrome but s...
asked by 16.11.2017 / 12:50
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

ElementNotVisibleException Selenium

I'm trying to login to www.pactpub.com using the following idea def setUp(self): self.driver = webdriver.Chrome(executable_path='C:\_workspace\projects\Packtpub\chromedriver') self.driver.get("https://www.packtpub.com") time.sl...
asked by 29.11.2016 / 14:08
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
0
answers

Authenticate Proxy with WebDriver php

I'm trying to log into a website to get information, but although it works perfectly in the outside environment of the company, when I squeeze the code inside my company's environment it blocks proxy authentication, which requires a password use...
asked by 09.10.2018 / 15:21
0
answers

Download and save an image automatically using Selenium WebDriver

I'm trying to download the Captcha image and save it through a WebDriver. Problem is when you click "Save". Does anyone know how I can do this? staticvoidMain(string[]args){vardriver=newInternetExplorerDriver();driver.Navigate().GoToUrl("http:/...
asked by 24.04.2018 / 05:56
1
answer

Selenium Web Driver Phantom JS c # Continue from where you left off

I'm developing a Selenium robot. However, this robot has time that interacts with the user. But I can not get him to continue from where he left off. I'll give you an example:    Make sure that this robot does a query of your CPF on a si...
asked by 09.12.2017 / 13:41