Setting up a project in Eclipse
Now, let's set up our project in Eclipse and write our first piece of code to use WebDriver and navigate to a web page. Please follow the sequence of the following steps to create an Eclipse WebDriver project:
- Open Eclipse from the directory you have installed it in earlier. Navigate to File | New | Java Project.
- A New Java Project dialog appears, as shown in the following screenshot. Enter the project name of your choice, leave the rest to default, and click Next.
- In the next screen, go to the Libraries tab, click on the Add External JARs… button, and select