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, 2020 in Selenium by Sahil
• 120 points
625 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
9,664 views
+1 vote
5 answers

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

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

answered Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
83,052 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 21, 2018 in Selenium by Shuvodip
5,495 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
16,288 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP