Transcript for:
Installing Selenium WebDriver on Windows

hello guys welcome to Amit things in this video we will see how we can easily download and install selenium Webdriver on windows so for that you need Java and Eclipse so at first we will download and install Eclipse which includes Java now then we will download a selenium web driver and then we will configure both so let's see at first we will install the current Eclipse ID which includes which now includes Java also so we don't need to install Java separately so let's begin let's go to the web browser I am using Chrome you can use any browser on Chrome type eclipse press enter on pressing enter the official website is visible eclipse.org click on it on clicking on the top right click on download we have reached the downloads page and here is the current version you can see Eclipse includes Java so we don't need to install Java separately for Windows directly click here click here click on download to start the downloads so the download started here and you can see let's wait for few seconds the Excel file downloaded double click on it to install minimize this guys here it is the eclipse installer here in the versions for Eclipse are visible click the following for Java if you want to run C or C plus plus programs on Eclipse click here for PHP click here we want for Java so I'll directly click here and you can see it automatically took Java and here is the installation folder for Eclipse as well you can change it from here but keep it default create start menu entry create a desktop shortcut yes looks fine click on install now the installation will begin guys we have successfully installed Eclipse click on launch the desktop shortcut is also visible now herein you can see it is asking us to select a workspace so workspace is a place wherein all the eclipse all the eclipse project project files files get saved so keep the default it will get saved under here you will see this later now let us click on use the default so that you don't need to select this workspace again and again when you will create a new project in feature click on launch so here is our eclipse I'll go to file directly click on new I'll go to file click on new then click on Java project so let me name the project let's say Amit project and execution environment I'll keep the default 18. I'll keep the same and I'll just click on next here in the location of the project is visible okay I told you the project the projects will get saved under Eclipse workspace and here it is here is the same part the project is here click on next click on finish now our project got created close this and a project will be visible here it is now let us create our new Java file by right clicking on SRC that is the source directory new class this will create a new Java class let's say the name is let's say the name is studiopedia package key as it is or you can just type the package as com.ometh public static void Main so this is the basic class with the name Studio PDF click on finish to create it we have studied a Java file now let us print something quickly using system.down using system dot out Dot println first Java program okay I'm with things let's say okay so here it is we created it semicolon now go to file and click on saved to run it you can directly right click on the project click on run as and click on Java application so here it is we successfully run our first Java program on Eclipse 2020 to hyphen09 so guys we successfully installed the eclipse with Java so now go to the web browser we are using Chrome you can use any browser here in type selenium Webdriver and press enter click on the following first official website selenium.web now go to downloads after reaching downloads go below you have to reach the selenium clients in Webdriver language bindings here in select the Java one and just click on it to download 4.5.0 now it will download so guys we have downloaded it it's a zip file right click and shown folder now when you right click and extract now here is the extracted file click on it and here are all the jar files and it is also here okay so let us now minimize this go to start type eclipse go to start type eclipse and here it is we just installed click on open this shows our project now now under the same project we can right click on the project and go to properties now we will configure selenium Webdriver go to Java build path here and click on libraries click on module path and click on ADD external jars now go to downloads remember where was our Webdriver jar files here and go to selenium Java now you can see all the jar files are visible now select these jar files press shift and select all click on open or you can apply click on apply and close now on the library is all of these will be visible you can again go to Project you can again go to the project click on properties click on module path and click on ADD external jars so we added all these but we forgot the live the lab one select all click on open now we have all the libraries here click on apply and apply on and apply and close now we have all these libraries here for selenium Webdriver so guys in this video we saw how we can easily set up selenium Webdriver on Eclipse thank you for watching the video