Skip to main content

You are here

IList

List all suggested search terms in Google

The following code opens the browser and navigates to Google. It then types in "Mado" into the search box. A list of search suggestions drop down. The program captures and prints all the suggestions. Allow the progam to finish - you will know when the "WebDriver" printed in the lower right corner of the browser window turns to black. Close the browser window and observe the listed options in the console.

Note: You should have downloaded and set reference to Selenium dot net library from the Selenium HQ website.

Premium Drupal Themes by Adaptivethemes