Posts by Marcos Costa • 26 points
4 posts
-
0
votes1
answer40
viewsA: Nullpointerexception when running a Selenium Webdriver test
You will need a class that starts and returns the driver before starting the tests and then loading that driver until the end of the execution as Voce already does in its constructors. the classes…
-
0
votes1
answer182
viewsA: Webdriver Chrome Selenium
can try the following: ChromeOptions options = new ChromeOptions(); options.setHeadless(true); System.setProperty("webdriver.chrome.driver", "C:\\libjava\\chromedriver2.exe"); WebDriver driver = new…
-
1
votes1
answer128
viewsA: Chromedriver on MAC - Eclipse/Intellij
Talk face, blz? look face I would say that the driver’s path is incorrect. have you checked this? tries to put it in a folder inside the project for example:…
-
0
votes1
answer240
viewsA: Selenium does not find element
Say little guy, blz ? Have you tried to find the element by xpath? for example: navegador.findElement(By.xpath("//div[@name='j_username']").sendKeys("C001104");