Questions tagged as 'selenium'

2
answers

org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and may not be interacted with Command duration or timeout

This exception happens when some tests run on bamboo. The strangest is when squeeze locally it works and are random tests that break. Has anyone gone through this? The exception is this: org.openqa.selenium.ElementNotVisibleException: Eleme...
asked by 06.01.2015 / 15:07
2
answers

Create Xpath manually

I'm testing a website that runs exclusively on Internet Explorer, so I can not use Firebug, does anyone know how I can create an Xpath for an element manually, or do you know of some tool for IE that identifies this Xpath, similar to Firebug (IE...
asked by 14.05.2015 / 19:07
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

Unused import statement - Pycharm

When trying to import using Pycharm : from selenium.webdriver.common.alert import Alert It leaves the text in gray, and shows unused import statemnet . I tried to use the: # noinspection PyUnresolvedReferences But withou...
asked by 16.03.2016 / 18:28
1
answer

Java / Selenium - Save text in variable [closed]

People, all right? I have the following problem: I need to generate a fake cpf, copy the generated cpf, and store it in a variable. But I can not extract the generated cpf from the sites I found. Both gettext () and getattribute () could n...
asked by 15.10.2015 / 21:18
1
answer

Export screen data to excel

I automated a customer registration test (performed on the web, internet explorer) and at the end it generates a protocol and another numeric code. I need at the end of the execution to save these two data, because soon after the system start...
asked by 07.05.2015 / 17:17
1
answer

Error executing an assert in eclipse

I have the following lines: import static org.junit.Assert.*; import org.openqa.selenium.WebElement; public class ClasseTeste extends Navegadores { public static void verificarTitulo() { abrirChrome(); String titulo = driver.getT...
asked by 11.08.2014 / 21:31
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
1
answer

How to leave the geckodriver fit for selenium use?

In Python 3 and Ubuntu, I want to run a test with selenium: from selenium import webdriver from selenium.webdriver.firefox.firefox_binary import FirefoxBinary from time import sleep binary = FirefoxBinary('/usr/lib/firefox/firefox') ff = web...
asked by 18.04.2018 / 18:16