Questions tagged as 'selenium-webdriver'

0
answers

Test error with Selenium with Python 3.x

I'm doing a test on a simple page that I created and runs with flask just for testing, I'm using Behave and Gherkin to create the cases. The error occurs when selenium has to fetch the form's field ID from a simple post inside the page's blog....
asked by 27.09.2018 / 15:00
0
answers

Display TXT in TextArea

I have this code, where I set my Log file in a TextArea. But when I click the Load log button, it shows the log in a line, how do I break line? I would also like the log to display in textArea at runtime, in real time, and not just at the end of...
asked by 02.10.2018 / 21:50
0
answers

Waiting Fluent method does not work

I would like to use Fluent Hold, to wait for text to load in a certain field, after a click on the "load" button. But the method loadLoad (), is not acting, selenium goes to the next method. public void carregarPlaca() throws InterruptedExcept...
asked by 21.09.2018 / 15:37
0
answers

Cucumber failing to instantiate class, 'steps undefined'

I get these errors on the console every time I try to run my test using cucumber with selenium: cucumber.runtime.CucumberException: Failed to instantiate class br.gov.pb.receita.atfbdd.steps.arrecadacao.ConsultarLancamentoARR001 - this class d...
asked by 17.09.2018 / 22:24
0
answers

Access LI via Selenium Python

How can I access the URL that is inside the li tag? I want to automate a task but I can not go directly through the URL because it is necessary to log in .... So I have to make the access on the page similar to the step by step that the user...
asked by 14.09.2018 / 19:20
0
answers

How to get span text? but when one has an img in that span of error!

The following code gets the span , but if it has a img it has an error. user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(names)) user.click() My system takes title from span and clicks it. But wh...
asked by 14.09.2018 / 18:13
0
answers

Selenium - does not perform action on new tab

When automating a click () new tab is opened. Expected situation: use command to change tab, start actions within the new tab. What happens: I can not perform any action on the new tab. (site problem?) Follow the code: f...
asked by 15.08.2018 / 03:06
2
answers

Error when using Selenium WebDriver in Python

I'm trying to develop a script in Python that simply opens the browser as shown in this Selenium with Chrome , but every time I try to run the program I come across the following error:    navigator = webdriver.Chrome () AttributeError: mo...
asked by 20.07.2018 / 09:48
1
answer

Python WebDriver Selenium does not find the item on the page after loading

I'm having a problem fetching an item from within a page, this item loads after loading the page via ajax or iframe , is there any way to to create a condition for the script to wait until the item appears? To exemplify my problem I did th...
asked by 13.07.2018 / 13:52
0
answers

Selenium - Doubt to locate element of a page inside the other

Could you help me with a Selenium question? I'm automating access to a page, which has the following behavior: 1-When entering the home page, I click on a button called "Site Map" and a side menu is loaded 2-Through the xpath I try to locate...
asked by 13.06.2018 / 14:56