I am not able to traverse to parent window to child window

Below code i was used in Selenium Eclipse, But i get a error shown in this line “String childid = it.next();” I am unable to traverse parent window to child window import java.util.Iterator; …

How to print exceptions on console? I am using TestNG and Maven

I want to see the exceptions on console. I am using TestNG with Maven as a build tool. I have defined my testng.xml in the Maven surefire plugin.

Element not clickable when using FindElement on another WebElement

I have a weird problem: When I locate an element via: WebElement e1 = driver.findElement(By.xpath(“//div1”)); WebElement e2 = e1.findElement(By.xpath(“//.[@class=’c2′]”)); e2.click(…

What is a java binding? Is it same as language binding? What do you mean by ‘people can use former json protocol using java bindings? [closed]

I was reading the following site: https://medium.com/@juanba48/selenium-4-is-now-w3c-compliant-what-does-this-mean-ceb44de2d29b and have difficulty understanding terminologies like java bindings, …

How to kill the Chrome driver process once the browser is closed with Selenium

I made a stand-alone GUI for my Selenium project, and I noticed that after using it for a while, I had 10+ chrome drivers opened in task manager. I realize this is because driver.quit() is never …

Is there any get body tag method for WebElement class in Selenium Java?

I’ve been trying to get body of pages within HTML source. I’ve been trying it with WebElement Class. I can’t access invisibilityOfAllElements method or let me say it throws error. I’ve written code …

Appium – AUT is not installed

I am testing an iOS application (on a real device) and encountering the following error: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server …

Automating a login with out providing the password via selenium Webdriver

I am trying to create an automated test to one of my accounts. I have manage to do so but i have to provide the password via driver.sendKeys(). Any idea on how i could automate this part without …

I am getting Null pointer Exception while fetching data from the excel sheet [duplicate]

Code: public class ContactUsFormTest { WebDriver driver; @BeforeMethod public void run() { System.setProperty(“webdriver.chrome.driver”, “Driver Path”); driver=new ChromeDriver(); …

I would like to fetch text with color from web table and print in excel using selenium web driver and apache poi

I get color of the text and stored in ‘textColor’. Now i need to pass this color to font.setColor. I mean instead of hard code color, i need to pass the textColor to font.setColor which mean i need to …