Getting Error

0 votes
String tittle=driver.getTitle();

String currenturl=driver.getCurrentUrl();

System.out.println(tittle);

System.out.println(currenturl);

WebElement withgoogle = driver.findElement(By.xpath("//div[contains(text(),'Continue with Facebook')]"));

withgoogle.click();

}

}
Jul 30 in Selenium by Sahil
• 120 points
113 views
Hey @Sahil, could you please post the error snippet you are getting? Also, what's your requirement, what exactly are you trying to do?

What's the error? did you import by class?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

0 votes
1 answer
0 votes
2 answers

Getting Error in System.setProperty of ChromeDriver

System.setProperty("webdriver.chrome.driver", ...READ MORE

answered Jan 8, 2019 in Selenium by anonymous
4,525 views
+1 vote
3 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
57,007 views
0 votes
1 answer
0 votes
1 answer
+4 votes
1 answer
0 votes
1 answer

Getting error saying element not found in selenium

Hey @Jino, The things I figured out ...READ MORE

answered Dec 20, 2018 in Selenium by Shuvodip
2,573 views
+1 vote
1 answer
0 votes
1 answer

Getting error while running a XML file in TestNG

Hello @Sradha, The synatx of using test is ...READ MORE

answered Dec 26, 2018 in Selenium by Rashmi
5,930 views