#100DaysOfCode in Python Transcripts
Chapter: Days 73-75: Automate tasks with Selenium
Lecture: Hello world Selenium: search python.org

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's look at the Selenium hello world example.
0:04 And let's look quickly what happens when I run this.
0:08 And I have to move the browser into my recording area.
0:13 I put the PyCon into the search box, hits return,
0:19 looks at the results and makes an assertion.
0:22 Now how cool is that, that it just opens a browser,
0:24 does all this stuff automatically?
0:27 And when you're dealing with web pages
0:29 you probably want to inspect them so you can do that here,
0:32 and you can look at the developer tools
0:35 and here you see that input has a name of queue,
0:38 so that's Selenium here is finding.
0:41 Sending PyCon, hitting return and no results found
0:46 should not be in the driver page source.
0:48 So here to back to the results.
0:51 Yes there are results for PyCon obviously.
0:54 And the talk a lot about automating tasks,
0:56 but one of the most common use cases is actually
0:59 to automate your testing, go through your dev sites,
1:02 filling out forms, looking and returns
1:04 and automate that as part of your functional testing.
1:08 So that's the hello world example of Selenium.