Question
[quote="swethamovva51@gmail.com":1631b9qs]Is the below code correct...its not working for me.driver.findElement(By.xpath("a[text()='Friends']")).click();[/quote:1631b9qs]whats not working. are you getting any exception.
your xpath should start with //