How would you select any particular text using the Selenium Webdriver?
It seems an easy one at first but you need to do a little more to achieve this. driver.get("/"); WebElement item = driver.findElement(By.xpath("//p[contains(text(),'Selenium webdriver)]")); Actions dummy = new Actions(driver); dummy.doubleClick(item).build().perform();
Answered Jan 26, 2020 · 2.6K Views Read answer →