Created
January 28, 2016 10:50
-
-
Save shahaakash/41f955158a9ac022dfb6 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
// Click on the post link from the left navigation bar and navigate to All Post page | |
driver.findElement(By.xpath("//*[@id='menu-posts']/a/div[2]")).click(); | |
// Open the New Post page by clicking on the Add Post button | |
driver.findElement(By.xpath("//*[@id='wpbody-content']/div[3]/h1/a")).click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment