Skip to content

Instantly share code, notes, and snippets.

@shahaakash
Last active January 28, 2016 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahaakash/d9ec08afa857aee07b19 to your computer and use it in GitHub Desktop.
Save shahaakash/d9ec08afa857aee07b19 to your computer and use it in GitHub Desktop.
Basic Selenium WebDriver Automation Script Structure
// Define Package Name
package wpAdmin;
// Import Selenium Libraries
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
// Define Class Name
public class BasicStructure {
public static void main(String[] args) {
// Selenium WebDriver Commands
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment