From the course: Python Automation and Testing

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution

Solution

From the course: Python Automation and Testing

Start my 1-month free trial

Solution

(logo chimes) - [Instructor] Let's take a quick step-by-step walk-through of the solution. As you will see, it's a very short solution. And there are also possibilities of other solutions. This is one of the possible solutions. The very first step that we have to perform is to navigate to this URL. So I'm going to copy this URL, and let's head over to the code editor and begin coding. (keyboard clicks) The very first step for us is to import the web driver. I'm also going to import the time module. Now, let's create a browser instance. webdriver.Firefox. And navigate to the URL. Since we already have the URL copied, I'm just going to paste it here. With this, our very first step is completed. The second step is to look for the search box, locate it, and then enter some text into it for the search. We do not have a locator for the search box as yet. So let's head over to the browser and find a locator first. So let's head over to the browser. This is the search box that we need to work…

Contents