Click on System Settings”. “Advanced Click on the Variables”. “Environment Step 3 In the Environment Variables dialog box, in the variables” section, scroll down the list “System until you find and then double-click it. “Path” Step 4 In the text box, add the new path Just be sure that there is a “Variable “C:\Wget\”. separating this new entry from the preexisting values. Step 5 Click OK on all dialog boxes. Launch the command prompt and type the command You should get the following “wget”. response. WebDriver and Wget In the following example, we will use WebDriver and wget to download a popular chat software called Yahoo Messenger. Our base URL shall be . Step 1 Import the package because we will have to catch an IOException later in “java.io.IOException” Step 4. Step 2
Click on “Advanced System Settings”. Click on the “Environment Variables”. Step 3 In the Environment Variables dialog box, in the “System variables” section, scroll down the list until you find “Path” and then double-click it. Step 4 In the “Variable text box, add the new path “C:\Wget\”. Just be sure that there is a separating this new entry from the preexisting values. Step 5 Click OK on all dialog boxes. Launch the command prompt and type the command “wget”. You should get the following response. WebDriver and Wget In the following example, we will use WebDriver and wget to download a popular chat software called Yahoo Messenger. Our base URL shall be . Step 1 Import the “java.io.IOException” package because we will have to catch an IOException later in Step 4. Step 2
Selenium-Notes.docx