Created
August 20, 2020 10:34
-
-
Save angelovstanton/b8353648f024c1ce7b449632c4f17e7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void focusOnControl() { | |
driver.navigate().to("http://automatetheplanet.com/"); | |
waitUntilLoaded(); | |
var ourMissionLink = driver.findElement(By.xpath("//*[@id=\"panel-6435-0-0-4\"]/div")); | |
Actions action = new Actions(driver); | |
action.moveToElement(ourMissionLink).build().perform(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment