Last active
June 21, 2016 16:25
-
-
Save 4M01/844e6047eca281986b3c8115d2a1abd9 to your computer and use it in GitHub Desktop.
Perform double click on page to get the page back from blacked-out state when notification poped-up.
This file contains hidden or 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
public void doDoubleClick(){ | |
WebElement body = driver.findElement(By.tagName("body")); | |
Actions actions= new Actions(driver).doubleClick(body); | |
actions.build().perform(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment