Kindly follow the steps below to add external .jar files to your project.
Kindly visit this link to download latest selenium jar file.
Click on the link next to Latest stable version
Once you have downloaded the .jar file, place it within you project folder.
Start Eclipse and navigate to your project folder in the Project Explorer.
Next, Expand the Project folder to reveal the src folder,
Right click on the src folder and click on Build Path > Configure Build Paths
On this screen, first click on Libraries and then click on classpath
Now click on Add External Jars.. and select the selenium jar files.
Select the JAR files you wish to add and click Open
Then click Apply and Close button on the bottom right of the following screen
Now these JAR files should be added to your project.
Hope this helps. If there are any other issues, please feel free to reach us and we will be glad to help.
Regards
Sourav Basu Roy
Technical Consultant
edureka!