title
Python Selenium | Python Selenium Webdriver Tutorial | Python Tutorial | Python Training | Edureka

description
( Python Training : https://www.edureka.co/data-science-python-certification-course ) This Edureka "Python Selenium" tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) will help you in learning how to perform functional testing using Python. In our use-case, we will test facebook login authentication. Check out our playlist for more videos: https://goo.gl/Na1p9G This Python tutorial video helps you to learn the following topics: 1. Python Selenium Webdriver 2. How to locate elements? 3. Facebook login test Subscribe to our channel to get video updates. Hit the subscribe button above. #Python #PythonTutorial #PythonSelenium #PythonForBeginners How it Works? 1. This is a 5 Week Instructor led Online Course,40 hours of assignment and 20 hours of project work 2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course. 3. At the end of the training you will be working on a real time project for which we will provide you a Grade and a Verifiable Certificate! - - - - - - - - - - - - - - - - - About the Course Edureka's Python Online Certification Training will make you an expert in Python programming. It will also help you learn Python the Big data way with integration of Machine learning, Pig, Hive and Web Scraping through beautiful soup. During our Python Certification training, our instructors will help you: 1. Master the Basic and Advanced Concepts of Python 2. Understand Python Scripts on UNIX/Windows, Python Editors and IDEs 3. Master the Concepts of Sequences and File operations 4. Learn how to use and create functions, sorting different elements, Lambda function, error handling techniques and Regular expressions ans using modules in Python 5. Gain expertise in machine learning using Python and build a Real Life Machine Learning application 6. Understand the supervised and unsupervised learning and concepts of Scikit-Learn 7. Master the concepts of MapReduce in Hadoop 8. Learn to write Complex MapReduce programs 9. Understand what is PIG and HIVE, Streaming feature in Hadoop, MapReduce job running with Python 10. Implementing a PIG UDF in Python, Writing a HIVE UDF in Python, Pydoop and/Or MRjob Basics 11. Master the concepts of Web scraping in Python 12. Work on a Real Life Project on Big Data Analytics using Python and gain Hands on Project Experience - - - - - - - - - - - - - - - - - - - Why learn Python? Programmers love Python because of how fast and easy it is to use. Python cuts development time in half with its simple to read syntax and easy compilation feature. Debugging your programs is a breeze in Python with its built in debugger. Using Python makes Programmers more productive and their programs ultimately better. Python continues to be a favorite option for data scientists who use it for building and using Machine learning applications and other scientific computations. Python runs on Windows, Linux/Unix, Mac OS and has been ported to Java and .NET virtual machines. Python is free to use, even for the commercial products, because of its OSI-approved open source license. Python has evolved as the most preferred Language for Data Analytics and the increasing search trends on python also indicates that Python is the next "Big Thing" and a must for Professionals in the Data Analytics domain. For more information, Please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free). Instagram: https://www.instagram.com/edureka_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka Customer Review Sairaam Varadarajan, Data Evangelist at Medtronic, Tempe, Arizona: "I took Big Data and Hadoop / Python course and I am planning to take Apache Mahout thus becoming the "customer of Edureka!". Instructors are knowledge... able and interactive in teaching. The sessions are well structured with a proper content in helping us to dive into Big Data / Python. Most of the online courses are free, edureka charges a minimal amount. Its acceptable for their hard-work in tailoring - All new advanced courses and its specific usage in industry. I am confident that, no other website which have tailored the courses like Edureka. It will help for an immediate take-off in Data Science and Hadoop working."

detail
{'title': 'Python Selenium | Python Selenium Webdriver Tutorial | Python Tutorial | Python Training | Edureka', 'heatmap': [{'end': 575.104, 'start': 550.665, 'weight': 0.746}, {'end': 1116.416, 'start': 1085.177, 'weight': 1}], 'summary': 'This tutorial covers python selenium basics including functional testing, selenium overview, and facebook login testing. it also explains functional testing, selenium as a web testing tool, selenium-python binding, web automation, automated web browser testing, element locating, and a facebook login test case.', 'chapters': [{'end': 39.563, 'segs': [{'end': 44.685, 'src': 'embed', 'start': 20.373, 'weight': 0, 'content': [{'end': 26.134, 'text': "After that, we'll get started with our first code and then we'll learn how to locate various elements from the page source.", 'start': 20.373, 'duration': 5.761}, {'end': 32.459, 'text': 'So you can locate elements by ID, name, class, hyperlinks, all those things we are going to see later in session.', 'start': 26.636, 'duration': 5.823}, {'end': 37.441, 'text': "And finally, I'm going to tell you how to test the username and password for Facebook login.", 'start': 33.359, 'duration': 4.082}, {'end': 39.563, 'text': 'So I hope you all are clear with the agenda.', 'start': 37.922, 'duration': 1.641}, {'end': 44.685, 'text': 'Kindly give me a quick confirmation by writing down in the chat box or if you have any doubts, you can ask me.', 'start': 40.303, 'duration': 4.382}], 'summary': 'Learning to locate elements by id, name, and class for testing facebook login.', 'duration': 24.312, 'max_score': 20.373, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E20373.jpg'}], 'start': 0.049, 'title': 'Python selenium basics', 'summary': 'Introduces python selenium basics, covering functional testing, selenium overview, element locating, and facebook login testing.', 'chapters': [{'end': 39.563, 'start': 0.049, 'title': 'Python selenium basics', 'summary': 'Introduces python selenium basics, covering functional testing, selenium overview, element locating, and facebook login testing.', 'duration': 39.514, 'highlights': ['The chapter covers functional testing, Selenium overview, element locating, and Facebook login testing.', 'The session will cover how to locate various elements from the page source, including elements by ID, name, class, and hyperlinks.', 'The chapter will include a demonstration on testing the username and password for Facebook login.']}], 'duration': 39.514, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E49.jpg', 'highlights': ['The chapter covers functional testing, Selenium overview, element locating, and Facebook login testing.', 'The session will cover how to locate various elements from the page source, including elements by ID, name, class, and hyperlinks.', 'The chapter will include a demonstration on testing the username and password for Facebook login.']}, {'end': 248.672, 'segs': [{'end': 87.881, 'src': 'embed', 'start': 63.072, 'weight': 0, 'content': [{'end': 72.497, 'text': 'Functional testing is a software testing process used within the software development in which software is tested to ensure that it confirms to all the requirements.', 'start': 63.072, 'duration': 9.425}, {'end': 80.315, 'text': 'Now functional testing involves evaluating and comparing each software function with the business requirements.', 'start': 73.649, 'duration': 6.666}, {'end': 82.256, 'text': 'So you have certain requirements.', 'start': 80.955, 'duration': 1.301}, {'end': 87.881, 'text': "So what are you going to do? You're going to check the functions of your software based on those business requirements.", 'start': 82.276, 'duration': 5.605}], 'summary': 'Functional testing ensures software meets business requirements by evaluating and comparing each software function.', 'duration': 24.809, 'max_score': 63.072, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E63072.jpg'}, {'end': 133.667, 'src': 'embed', 'start': 104.502, 'weight': 2, 'content': [{'end': 107.943, 'text': "and then you're going to compare the actual output with the expected output.", 'start': 104.502, 'duration': 3.441}, {'end': 109.744, 'text': "That's what basically functional testing is.", 'start': 107.963, 'duration': 1.781}, {'end': 113.225, 'text': 'Now there are various steps in order to perform functional testing.', 'start': 110.624, 'duration': 2.601}, {'end': 115.266, 'text': 'Let us have a look at those steps one by one.', 'start': 113.465, 'duration': 1.801}, {'end': 120.008, 'text': 'So first you need to identify the function of that particular software that you want to test on.', 'start': 115.786, 'duration': 4.222}, {'end': 124.849, 'text': 'After that you create the input based on the specification of your function.', 'start': 120.848, 'duration': 4.001}, {'end': 129.67, 'text': 'Then in the third step you determine the output based on the input that you have provided.', 'start': 125.529, 'duration': 4.141}, {'end': 133.667, 'text': 'And in our fourth step, you are going to execute the test cases.', 'start': 130.545, 'duration': 3.122}], 'summary': 'Functional testing involves comparing actual vs. expected output, and executing test cases.', 'duration': 29.165, 'max_score': 104.502, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E104502.jpg'}, {'end': 207.516, 'src': 'embed', 'start': 165.769, 'weight': 1, 'content': [{'end': 173.715, 'text': 'So what is Selenium? Selenium is basically a web testing tool which uses simple scripts to run tests directly within a browser.', 'start': 165.769, 'duration': 7.946}, {'end': 178.058, 'text': 'Or in simple terms you can even say that it automates browsers.', 'start': 174.395, 'duration': 3.663}, {'end': 186.965, 'text': 'Now it is a portable software testing framework for web applications that provides a record or playback tool for authoring tests.', 'start': 179.079, 'duration': 7.886}, {'end': 195.189, 'text': 'Let me tell you guys, Selenium also provides a test domain specific language, Selenese, to write tests in a number of popular languages.', 'start': 187.805, 'duration': 7.384}, {'end': 199.812, 'text': 'For example, you have Perl, Java, PHP, Python, Groovy.', 'start': 195.85, 'duration': 3.962}, {'end': 202.994, 'text': 'So you can write tests in any of these programming languages.', 'start': 200.332, 'duration': 2.662}, {'end': 207.516, 'text': 'Now these tests can be run against most of the modern web browsers.', 'start': 204.034, 'duration': 3.482}], 'summary': 'Selenium is a web testing tool with selenese language, supporting multiple languages, and compatible with modern web browsers.', 'duration': 41.747, 'max_score': 165.769, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E165769.jpg'}], 'start': 40.303, 'title': 'Functional testing and selenium', 'summary': 'Explains the concept of functional testing, covering the process and steps involved. it also provides an overview of selenium as a web testing tool, highlighting its features and compatibility.', 'chapters': [{'end': 140.989, 'start': 40.303, 'title': 'Functional testing: understanding and process', 'summary': 'Explains the concept of functional testing and its process, involving testing the application against business requirements and various steps including identifying the function, creating input, determining output, and executing test cases.', 'duration': 100.686, 'highlights': ['Functional testing involves evaluating and comparing each software function with the business requirements, ensuring that it confirms to all the requirements.', 'The process of functional testing includes identifying the function, creating input, determining output, and executing test cases.', 'Software is tested by providing it with related input, and the output is evaluated to see how it confirms, relates, or varies compared to its base requirements.', 'The steps for functional testing include identifying the function, creating input based on the specification, determining output based on the input, and executing the test cases.']}, {'end': 248.672, 'start': 141.79, 'title': 'Selenium: web testing and automation', 'summary': 'Provides an overview of functional testing and introduces selenium as a web testing tool, highlighting its features such as browser automation, support for multiple programming languages, and compatibility with modern web browsers.', 'duration': 106.882, 'highlights': ['Selenium is a web testing tool that uses simple scripts to run tests directly within a browser, providing a record or playback tool for authoring tests.', 'It offers a test domain specific language, Selenese, allowing tests to be written in popular languages like Perl, Java, PHP, Python, and Groovy.', 'Tests can be run against most modern web browsers including Google Chrome, Internet Explorer, Mozilla Firefox, and Safari.']}], 'duration': 208.369, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E40303.jpg', 'highlights': ['Functional testing involves evaluating and comparing each software function with the business requirements.', 'Selenium offers a test domain specific language, Selenese, allowing tests to be written in popular languages.', 'The process of functional testing includes identifying the function, creating input, determining output, and executing test cases.', 'Selenium is a web testing tool that uses simple scripts to run tests directly within a browser.']}, {'end': 408.549, 'segs': [{'end': 277.048, 'src': 'embed', 'start': 248.792, 'weight': 0, 'content': [{'end': 251.634, 'text': 'So let us move forward and understand the binding between both of them.', 'start': 248.792, 'duration': 2.842}, {'end': 253.575, 'text': 'That is Selenium and Python.', 'start': 252.054, 'duration': 1.521}, {'end': 260.438, 'text': 'So Selenium Python binding provides a simple API to write functional tests using Selenium WebDriver.', 'start': 254.574, 'duration': 5.864}, {'end': 263.82, 'text': 'This is where you write your functional tests using Selenium WebDriver.', 'start': 260.658, 'duration': 3.162}, {'end': 266.722, 'text': 'After that you send a request to Selenium server.', 'start': 264.52, 'duration': 2.202}, {'end': 271.084, 'text': 'The Selenium server then runs those tests on various browsers.', 'start': 267.302, 'duration': 3.782}, {'end': 274.827, 'text': 'It can be Google Chrome, Internet Explorer, Mozilla Firefox or Safari.', 'start': 271.244, 'duration': 3.583}, {'end': 277.048, 'text': 'So this is how it works guys.', 'start': 275.867, 'duration': 1.181}], 'summary': 'Selenium python binding allows writing functional tests with webdriver and running them on various browsers.', 'duration': 28.256, 'max_score': 248.792, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E248792.jpg'}, {'end': 316.422, 'src': 'embed', 'start': 287.819, 'weight': 1, 'content': [{'end': 294.042, 'text': 'this will open the website www.python.org, and in the search tab it will search PyCon.', 'start': 287.819, 'duration': 6.223}, {'end': 299.124, 'text': 'So if it is a relevant search then it will display the search results or else the test will fail.', 'start': 294.382, 'duration': 4.742}, {'end': 300.625, 'text': "That's all that this code will do.", 'start': 299.384, 'duration': 1.241}, {'end': 303.726, 'text': 'Now let me explain you each and every line of this particular code.', 'start': 301.185, 'duration': 2.541}, {'end': 307.058, 'text': 'So basically in the big thing, you need to import a couple of modules.', 'start': 304.477, 'duration': 2.581}, {'end': 311.08, 'text': 'The Selenium WebDriver module provides all the WebDriver implementations.', 'start': 307.598, 'duration': 3.482}, {'end': 316.422, 'text': 'The currently supported WebDriver implementations are Firefox, Chrome, IE, and remote.', 'start': 311.7, 'duration': 4.722}], 'summary': 'Python code opens www.python.org, searches pycon, and validates search results.', 'duration': 28.603, 'max_score': 287.819, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E287819.jpg'}, {'end': 402.626, 'src': 'embed', 'start': 371.204, 'weight': 2, 'content': [{'end': 373.925, 'text': 'And one of which is find element by name.', 'start': 371.204, 'duration': 2.721}, {'end': 378.726, 'text': "So over here it'll actually search the element by name, that is q.", 'start': 374.445, 'duration': 4.281}, {'end': 383.547, 'text': 'So the syntax will be driver.findElementByName q.', 'start': 378.726, 'duration': 4.821}, {'end': 386.148, 'text': 'And the next, these three lines, we are actually sending keys.', 'start': 383.547, 'duration': 2.601}, {'end': 389.409, 'text': 'This is similar to entering keys using your keyboard.', 'start': 387.008, 'duration': 2.401}, {'end': 397.244, 'text': 'Special keys can be sent using keys class imported from the selenium webdriver.common.keys that you can see it over here.', 'start': 390.16, 'duration': 7.084}, {'end': 402.626, 'text': 'Now before we move forward we need to first clear any pre-populated text in the input field.', 'start': 397.984, 'duration': 4.642}], 'summary': "Demonstrates finding element by name 'q' and sending keys using selenium webdriver.", 'duration': 31.422, 'max_score': 371.204, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E371204.jpg'}], 'start': 248.792, 'title': 'Selenium python binding', 'summary': 'Explains the binding between selenium and python, offering a simple api to write functional tests using selenium webdriver. it demonstrates a code that opens www.python.org, searches for pycon, and performs a relevant search validation.', 'chapters': [{'end': 408.549, 'start': 248.792, 'title': 'Selenium python binding', 'summary': 'Explains the binding between selenium and python, providing a simple api to write functional tests using selenium webdriver, and demonstrates a code that opens www.python.org, searches for pycon, and performs a relevant search validation.', 'duration': 159.757, 'highlights': ['Selenium Python binding provides a simple API to write functional tests using Selenium WebDriver. The binding between Selenium and Python offers a straightforward way to create functional tests using Selenium WebDriver.', 'The code opens the website www.python.org, searches for PyCon, and validates the search results. The demonstrated code opens www.python.org, performs a search for PyCon, and validates the relevance of the search results.', 'The WebDriver provides a number of ways to find elements, including finding elements by name. WebDriver offers multiple methods for locating elements, such as finding elements by name.']}], 'duration': 159.757, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E248792.jpg', 'highlights': ['Selenium Python binding provides a simple API to write functional tests using Selenium WebDriver.', 'The code opens the website www.python.org, searches for PyCon, and validates the search results.', 'WebDriver offers multiple methods for locating elements, such as finding elements by name.']}, {'end': 657.097, 'segs': [{'end': 448.253, 'src': 'embed', 'start': 408.549, 'weight': 0, 'content': [{'end': 415.693, 'text': 'that is pycon, that will navigate to the Python website that is python.org, and in the search tab, pycon will be written.', 'start': 408.549, 'duration': 7.144}, {'end': 419.577, 'text': 'Now, after submission of the page, We should get the result.', 'start': 416.553, 'duration': 3.024}, {'end': 424.922, 'text': 'if there is any, to ensure that some results are found, we make an assertion again.', 'start': 419.577, 'duration': 5.345}, {'end': 428.445, 'text': 'assertion no results found, not in driver dot page source.', 'start': 424.922, 'duration': 3.523}, {'end': 434.67, 'text': "Now after that you need to exit from that particular web browser, maybe Firefox Chrome, whatever you're using.", 'start': 429.065, 'duration': 5.605}, {'end': 437.032, 'text': 'So for that we write driver dot quit.', 'start': 435.11, 'duration': 1.922}, {'end': 439.394, 'text': 'You can even write driver dot exit here as well.', 'start': 437.252, 'duration': 2.142}, {'end': 445.112, 'text': "But driver.quit will close the whole Chrome or the whole web browser that you're using, maybe Firefox as well.", 'start': 440.011, 'duration': 5.101}, {'end': 448.253, 'text': 'But driver.exit will only close that particular tab.', 'start': 445.652, 'duration': 2.601}], 'summary': 'Using python, navigate to pycon on python.org, search for pycon, assert results, and exit browser.', 'duration': 39.704, 'max_score': 408.549, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E408549.jpg'}, {'end': 592.474, 'src': 'heatmap', 'start': 550.665, 'weight': 2, 'content': [{'end': 556.769, 'text': "Alright Now, as I've told you earlier as well, that WebDriver offers a number of ways to locate the element,", 'start': 550.665, 'duration': 6.104}, {'end': 559.75, 'text': "but over here I'm going to use locate the element by name.", 'start': 556.769, 'duration': 2.981}, {'end': 562.752, 'text': "So let me tell you why I'm going to use that.", 'start': 560.411, 'duration': 2.341}, {'end': 565.434, 'text': 'First let me open this particular website and show you.', 'start': 562.992, 'duration': 2.442}, {'end': 575.104, 'text': 'Now over here when I go and inspect this particular element, You can find here the name is equals to Q.', 'start': 567.735, 'duration': 7.369}, {'end': 579.366, 'text': "So I'm going to search this particular element with the help of the name that is given here.", 'start': 575.104, 'duration': 4.262}, {'end': 586.431, 'text': "So I'm going to write here as driver dot find element by name and the name is Q.", 'start': 580.067, 'duration': 6.364}, {'end': 589.292, 'text': "So that is why I'm going to use it in my code as well.", 'start': 586.431, 'duration': 2.861}, {'end': 592.474, 'text': 'So let me go back to my code and show you that.', 'start': 589.733, 'duration': 2.741}], 'summary': "Using webdriver to locate element by name 'q' for website search.", 'duration': 52.286, 'max_score': 550.665, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E550665.jpg'}, {'end': 657.097, 'src': 'embed', 'start': 621.02, 'weight': 3, 'content': [{'end': 623.482, 'text': 'So you need to import that in order to send some special keys.', 'start': 621.02, 'duration': 2.462}, {'end': 628.225, 'text': 'But first, let me clear any pre-populated text in the input fields.', 'start': 624.462, 'duration': 3.763}, {'end': 632.856, 'text': "For that, I'll write in lm.clear.", 'start': 628.325, 'duration': 4.531}, {'end': 650.793, 'text': "Now I'm going to send the key that is lm.sendKeys so I'm going to send PyCon and then get the return so I'll write in lm.sendKeys.return.", 'start': 633.797, 'duration': 16.996}, {'end': 657.097, 'text': 'Now basically after submission of the page, you should get the result if there is any.', 'start': 653.356, 'duration': 3.741}], 'summary': 'Using lm.clear to clear pre-populated text, then sending lm.sendkeys(pycon) and checking for the result.', 'duration': 36.077, 'max_score': 621.02, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E621020.jpg'}], 'start': 408.549, 'title': 'Python web automation', 'summary': 'Demonstrates automating a search on python.org using pycon, closing the web browser with driver.quit, and using selenium webdriver in python to automate web interactions, including practical examples of navigation, assertion, and element manipulation.', 'chapters': [{'end': 448.253, 'start': 408.549, 'title': 'Automating python website search', 'summary': 'Demonstrates how to automate a search on python.org using pycon, ensuring results are found and then closing the web browser with driver.quit, providing an alternative option with driver.exit.', 'duration': 39.704, 'highlights': ['Automating a search on python.org using PyCon and verifying the results with an assertion.', 'Using driver.quit to close the entire web browser after the search process.', 'Using driver.exit as an alternative to close a specific tab in the web browser.']}, {'end': 657.097, 'start': 448.873, 'title': 'Python web automation', 'summary': 'Demonstrates how to use selenium webdriver in python to automate web interactions, including importing modules, creating a firefox webdriver instance, navigating to a page, asserting the title, locating elements by name, and sending keys with practical examples.', 'duration': 208.224, 'highlights': ['The chapter demonstrates how to use Selenium WebDriver in Python to automate web interactions, including importing modules, creating a Firefox WebDriver instance, navigating to a page, asserting the title, locating elements by name, and sending keys with practical examples.', "WebDriver offers a number of ways to locate the element, but the chapter focuses on locating the element by name, specifically using the name 'Q' as an example.", "The practical example involves sending keys to a web page, such as sending 'PyCon' and then simulating the 'return' key for submission."]}], 'duration': 248.548, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E408549.jpg', 'highlights': ['Demonstrates automating a search on python.org using PyCon and verifying the results with an assertion.', 'Using driver.quit to close the entire web browser after the search process.', 'The chapter demonstrates how to use Selenium WebDriver in Python to automate web interactions, including importing modules, creating a Firefox WebDriver instance, navigating to a page, asserting the title, locating elements by name, and sending keys with practical examples.', "The practical example involves sending keys to a web page, such as sending 'PyCon' and then simulating the 'return' key for submission.", 'Using driver.exit as an alternative to close a specific tab in the web browser.', "WebDriver offers a number of ways to locate the element, but the chapter focuses on locating the element by name, specifically using the name 'Q' as an example."]}, {'end': 1037.561, 'segs': [{'end': 711.7, 'src': 'embed', 'start': 657.677, 'weight': 1, 'content': [{'end': 662.138, 'text': 'But in order to ensure that some results are found, we make use of an assertion.', 'start': 657.677, 'duration': 4.461}, {'end': 674.34, 'text': "So I'll type in here as assert no result found not in driver.pagesource.", 'start': 662.598, 'duration': 11.742}, {'end': 681.341, 'text': 'Driver.pagesource And finally the browser window is closed.', 'start': 676.401, 'duration': 4.94}, {'end': 688.262, 'text': 'So for that I can call the quit method as well as the close method but the close method will only close a particular tab in the web browser.', 'start': 681.461, 'duration': 6.801}, {'end': 692.644, 'text': 'Whereas the quit method will close the entire web browser which is Firefox in our case.', 'start': 688.763, 'duration': 3.881}, {'end': 695.204, 'text': 'So let me just call the quit method itself.', 'start': 693.004, 'duration': 2.2}, {'end': 699.485, 'text': "So I'll type in here as driver dot quit.", 'start': 695.224, 'duration': 4.261}, {'end': 700.726, 'text': 'All right.', 'start': 700.406, 'duration': 0.32}, {'end': 702.986, 'text': 'So this is how our code looks like.', 'start': 701.366, 'duration': 1.62}, {'end': 705.687, 'text': 'If you have any questions any doubts you can ask me right now.', 'start': 703.046, 'duration': 2.641}, {'end': 711.7, 'text': 'Theon, Maya, David, Any questions? All right, so we have no questions.', 'start': 706.647, 'duration': 5.053}], 'summary': 'Code includes assertion, quit method; no questions from theon, maya, david.', 'duration': 54.023, 'max_score': 657.677, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E657677.jpg'}, {'end': 787.475, 'src': 'embed', 'start': 735.097, 'weight': 0, 'content': [{'end': 738.38, 'text': 'PyCon and you are going to get all the searches for PyCon.', 'start': 735.097, 'duration': 3.283}, {'end': 745.866, 'text': 'So we have an event PyCon Caesar 2017, APAC 2017, PyCon Amazonia.', 'start': 738.4, 'duration': 7.466}, {'end': 750.19, 'text': "All right, let's not waste time here and I'm going to close my browser for now.", 'start': 745.886, 'duration': 4.304}, {'end': 752.772, 'text': 'So this is a pretty basic example guys.', 'start': 751.031, 'duration': 1.741}, {'end': 758.237, 'text': "Now what I'll do, I'll actually perform the same task using the unit test module.", 'start': 753.635, 'duration': 4.602}, {'end': 759.958, 'text': 'So let me show you that.', 'start': 758.977, 'duration': 0.981}, {'end': 761.879, 'text': 'First let me clear all of this.', 'start': 760.158, 'duration': 1.721}, {'end': 766.481, 'text': "And now what I'm going to do is I'm going to import the unit test module first.", 'start': 762.619, 'duration': 3.862}, {'end': 768.822, 'text': "So I'll type in here unit test.", 'start': 766.521, 'duration': 2.301}, {'end': 773.844, 'text': "So the unit test module is a built-in Python based on Java's JUnit.", 'start': 769.582, 'duration': 4.262}, {'end': 778.066, 'text': 'This module provides a framework for organizing the test cases.', 'start': 774.484, 'duration': 3.582}, {'end': 783.128, 'text': "So after that I'm going to import the Selenium WebDriver which I've done earlier as well.", 'start': 779.166, 'duration': 3.962}, {'end': 785.294, 'text': "So I don't need to explain that now.", 'start': 783.672, 'duration': 1.622}, {'end': 787.475, 'text': 'Import WebDriver.', 'start': 785.754, 'duration': 1.721}], 'summary': 'Pycon caesar 2017, apac 2017, pycon amazonia events discussed with use of unit test module and selenium webdriver.', 'duration': 52.378, 'max_score': 735.097, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E735097.jpg'}], 'start': 657.677, 'title': 'Selenium webdriver and automated web browser testing', 'summary': 'Covers asserting results, closing the browser using the quit method, and automated web browser testing using python, selenium webdriver, and unit test module. it demonstrates tasks like searching pycon, confirming search results, and usage of key methods like driver.get and assertion checks.', 'chapters': [{'end': 711.7, 'start': 657.677, 'title': 'Selenium webdriver: asserting results and closing browser', 'summary': 'Covers using an assertion to ensure results, demonstrating the assert no result found not in driver.pagesource, and closing the browser using the quit method, which closes the entire web browser.', 'duration': 54.023, 'highlights': ['Using an assertion to ensure results by typing assert no result found not in driver.pagesource.', 'Demonstrating the quit method to close the entire web browser, using driver.quit.', 'Explaining the close method to close a particular tab in the web browser.']}, {'end': 1037.561, 'start': 711.741, 'title': 'Automated web browser testing', 'summary': 'Demonstrates automated web browser testing using python, selenium webdriver, and unit test module to perform tasks such as searching pycon and confirming search results, with references to pycon events and usage of key methods like driver.get and assertion checks.', 'duration': 325.82, 'highlights': ['The chapter demonstrates automated web browser testing using Python, Selenium WebDriver, and unit test module to perform tasks such as searching PyCon and confirming search results. The transcript provides a demonstration of automated web browser testing using Python, Selenium WebDriver, and the unit test module to perform tasks such as searching PyCon and confirming search results.', "The unit test module in Python is based on Java's JUnit and provides a framework for organizing test cases. The unit test module in Python is based on Java's JUnit and provides a framework for organizing test cases.", 'References to specific PyCon events such as PyCon Caesar 2017, APAC 2017, and PyCon Amazonia are mentioned. Specific PyCon events such as PyCon Caesar 2017, APAC 2017, and PyCon Amazonia are mentioned in the context of searching and confirming search results.', 'Usage of key methods like driver.get and assertion checks are demonstrated in the context of web browser testing. The transcript showcases the usage of key methods like driver.get and assertion checks in the context of web browser testing.']}], 'duration': 379.884, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E657677.jpg', 'highlights': ['The chapter demonstrates automated web browser testing using Python, Selenium WebDriver, and unit test module to perform tasks such as searching PyCon and confirming search results.', 'Usage of key methods like driver.get and assertion checks are demonstrated in the context of web browser testing.', 'Using an assertion to ensure results by typing assert no result found not in driver.pagesource.', 'Demonstrating the quit method to close the entire web browser, using driver.quit.', 'Explaining the close method to close a particular tab in the web browser.', "The unit test module in Python is based on Java's JUnit and provides a framework for organizing test cases.", 'References to specific PyCon events such as PyCon Caesar 2017, APAC 2017, and PyCon Amazonia are mentioned.']}, {'end': 1519.598, 'segs': [{'end': 1116.416, 'src': 'heatmap', 'start': 1038.321, 'weight': 0, 'content': [{'end': 1052.587, 'text': "So I'll type in here as assert no results found and then not in driver.pagesource.", 'start': 1038.321, 'duration': 14.266}, {'end': 1055.828, 'text': "Now I'm going to create a teardown method.", 'start': 1053.627, 'duration': 2.201}, {'end': 1060.509, 'text': 'So this teardown method will get called after every test method.', 'start': 1056.368, 'duration': 4.141}, {'end': 1062.03, 'text': 'So let me create that.', 'start': 1061.11, 'duration': 0.92}, {'end': 1071.412, 'text': "So I'll type in here as define teardown and over here I'm going to use a quit method that I've told you earlier about it.", 'start': 1063.069, 'duration': 8.343}, {'end': 1079.095, 'text': "So I'm going to type in here as self.driver.quit.", 'start': 1071.512, 'duration': 7.583}, {'end': 1084.897, 'text': "and now, finally, what I'm going to do is I am going to write some boilerplate code to run the test suite.", 'start': 1079.095, 'duration': 5.802}, {'end': 1098.045, 'text': "So for that I'll type in if name equal to equal to main then call unit test dot main.", 'start': 1085.177, 'duration': 12.868}, {'end': 1099.946, 'text': "So that's all guys.", 'start': 1099.085, 'duration': 0.861}, {'end': 1104.529, 'text': 'So if you have any doubts with respect to any of the lines in the code, you can ask me right now.', 'start': 1100.486, 'duration': 4.043}, {'end': 1110.933, 'text': 'Any doubts Maya, Devon, Theon, Ayushi, Jagruti, any doubts guys you can ask me.', 'start': 1105.209, 'duration': 5.724}, {'end': 1116.416, 'text': "So it'll actually perform the same function here that we have done in the previous code as well.", 'start': 1111.913, 'duration': 4.503}], 'summary': 'Creating a teardown method to run after each test method, using quit method to close driver.', 'duration': 72.612, 'max_score': 1038.321, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1038320.jpg'}, {'end': 1465.904, 'src': 'embed', 'start': 1437.96, 'weight': 3, 'content': [{'end': 1442.081, 'text': 'So these are the ways through which you can locate elements in our particular web page.', 'start': 1437.96, 'duration': 4.121}, {'end': 1445.423, 'text': 'So let us now move forward and execute an example.', 'start': 1442.762, 'duration': 2.661}, {'end': 1451.605, 'text': "Now over here I'm going to tell you how to check the username and password for Facebook login page.", 'start': 1446.663, 'duration': 4.942}, {'end': 1457.608, 'text': "So before that what I'm going to do is I'm going to open the Facebook login page and I'm going to show you how you can do that.", 'start': 1452.285, 'duration': 5.323}, {'end': 1465.904, 'text': "Facebook.com. Now, over here I'm going to locate the username and password elements.", 'start': 1458.588, 'duration': 7.316}], 'summary': 'Demonstrating how to locate elements on the facebook login page.', 'duration': 27.944, 'max_score': 1437.96, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1437960.jpg'}], 'start': 1038.321, 'title': 'Automating test suite setup and teardown and selenium webdriver: locating elements', 'summary': 'Discusses creating a teardown method for every test method, utilizing the quit method to close the driver, writing boilerplate code to run the test suite, and locating elements in a web page using selenium webdriver with examples of various methods, including locating elements on the facebook login page.', 'chapters': [{'end': 1110.933, 'start': 1038.321, 'title': 'Automating test suite setup and teardown', 'summary': 'Discusses creating a teardown method to be called after every test method, utilizing the quit method to close the driver, and writing boilerplate code to run the test suite, concluding with an offer for addressing any doubts.', 'duration': 72.612, 'highlights': ['Creating a teardown method to be called after every test method, utilizing the quit method to close the driver.', 'Writing boilerplate code to run the test suite.', 'Offering to address any doubts regarding the code.']}, {'end': 1519.598, 'start': 1111.913, 'title': 'Selenium webdriver: locating elements in web page', 'summary': 'Discusses how to locate elements in a web page using selenium webdriver with examples of locating elements by id, name, xpath, link text, tag name, and class name, culminating in an example of locating elements on the facebook login page.', 'duration': 407.685, 'highlights': ['The chapter discusses how to locate elements in a web page using Selenium WebDriver with examples of locating elements by ID, name, XPath, link text, tag name, and class name, culminating in an example of locating elements on the Facebook login page. locating elements by ID, name, XPath, link text, tag name, and class name', 'The chapter demonstrates locating elements by ID and explains the process, highlighting that the first element with the ID attribute value matching the location will be returned, and no search element exception will be raised if no element has a matching ID attribute. locating elements by ID, process explanation, exception handling', 'The chapter explains the process of locating elements by name, emphasizing that the first element with the name attribute value matching the location will be returned, and no search element exception will be raised if no element has a matching name attribute. locating elements by name, process explanation, exception handling', 'The chapter delves into using XPath to locate elements, highlighting its usage when there is no suitable ID or name attribute for the element, and provides an example of finding an element by using XPath. locating elements by XPath, usage explanation, example', 'The chapter discusses locating hyperlinks by link text, explaining that the first element with the link text value matching the location will be returned, and provides an example to illustrate the process. locating hyperlinks by link text, process explanation, example', 'The chapter covers locating elements by tag name, clarifying that the first element with the given tag name will be returned, and provides an example to demonstrate the process. locating elements by tag name, process explanation, example', 'The chapter explains how to locate elements by class name, emphasizing that the first element with the matching class attribute will be returned, and no such element exception will be raised if no element has a matching class attribute name. locating elements by class name, process explanation, exception handling', 'The chapter concludes with an example of locating elements on the Facebook login page, showcasing the practical application of the methods discussed earlier in the chapter. example of locating elements on the Facebook login page']}], 'duration': 481.277, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1038320.jpg', 'highlights': ['Creating a teardown method to be called after every test method, utilizing the quit method to close the driver.', 'Writing boilerplate code to run the test suite.', 'Offering to address any doubts regarding the code.', 'The chapter concludes with an example of locating elements on the Facebook login page, showcasing the practical application of the methods discussed earlier in the chapter.', 'The chapter discusses how to locate elements in a web page using Selenium WebDriver with examples of locating elements by ID, name, XPath, link text, tag name, and class name, culminating in an example of locating elements on the Facebook login page.']}, {'end': 1846.576, 'segs': [{'end': 1557.38, 'src': 'embed', 'start': 1521.084, 'weight': 1, 'content': [{'end': 1525.746, 'text': "So this is how the code looks like I'll explain you each and everything in detail first.", 'start': 1521.084, 'duration': 4.662}, {'end': 1528.567, 'text': 'We are importing the module that is serenium webdriver.', 'start': 1525.766, 'duration': 2.801}, {'end': 1534.829, 'text': 'I have told you earlier as well why we are importing that in the previous example also then we will import webdriver wait.', 'start': 1528.587, 'duration': 6.242}, {'end': 1537.45, 'text': 'This will actually wait until the web page has been loaded.', 'start': 1534.849, 'duration': 2.601}, {'end': 1538.99, 'text': 'It is used for that purpose.', 'start': 1537.95, 'duration': 1.04}, {'end': 1541.971, 'text': 'Then we are going to import time and unit test.', 'start': 1539.651, 'duration': 2.32}, {'end': 1543.332, 'text': "I've told you unit test as well.", 'start': 1542.011, 'duration': 1.321}, {'end': 1549.434, 'text': "And now as I've told you earlier as well that the test case class is inherited from the unit test dot test case.", 'start': 1543.932, 'duration': 5.502}, {'end': 1554.819, 'text': 'So inheriting from test case class is the way to tell unit test module that this is our test case.', 'start': 1549.997, 'duration': 4.822}, {'end': 1557.38, 'text': 'So this is our test case login test.', 'start': 1554.839, 'duration': 2.541}], 'summary': 'Explaining code with imports and inheritance for login test case.', 'duration': 36.296, 'max_score': 1521.084, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1521084.jpg'}, {'end': 1596.484, 'src': 'embed', 'start': 1574.627, 'weight': 2, 'content': [{'end': 1583.194, 'text': 'then driver dot get method will actually navigate me to the URL that is www.facebook.com, and then this is basically to maximize the window.', 'start': 1574.627, 'duration': 8.567}, {'end': 1584.635, 'text': 'Now in the next line.', 'start': 1583.774, 'duration': 0.861}, {'end': 1590.439, 'text': "So this is basically the test case method and I've named it as test underscore login.", 'start': 1585.435, 'duration': 5.004}, {'end': 1596.484, 'text': 'But one important thing here to notice is the test case method should always start with characters test.', 'start': 1590.8, 'duration': 5.684}], 'summary': 'Use driver.get to navigate to www.facebook.com, and maximize window. test case method named test_login.', 'duration': 21.857, 'max_score': 1574.627, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1574627.jpg'}, {'end': 1714.101, 'src': 'embed', 'start': 1687.116, 'weight': 5, 'content': [{'end': 1691.497, 'text': 'So you can write here driver.quit method, or you can even use the close method.', 'start': 1687.116, 'duration': 4.381}, {'end': 1697.499, 'text': "and I've told you, the close method will close only a particular tab in the Firefox, but the quit method will close the entire Firefox.", 'start': 1691.497, 'duration': 6.002}, {'end': 1702.161, 'text': "And the final lines are some boilerplate code to run the test suite, that's all.", 'start': 1698.1, 'duration': 4.061}, {'end': 1706.09, 'text': 'So let us go ahead and execute this and see what happens.', 'start': 1703.206, 'duration': 2.884}, {'end': 1710.035, 'text': 'Let me first change my Facebook password and write the correct password here.', 'start': 1706.31, 'duration': 3.725}, {'end': 1714.101, 'text': "Now let's go ahead and execute this.", 'start': 1712.098, 'duration': 2.003}], 'summary': 'The transcript discusses using driver.quit or close method in selenium, and executing a test suite to change a facebook password.', 'duration': 26.985, 'max_score': 1687.116, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1687116.jpg'}, {'end': 1802.867, 'src': 'embed', 'start': 1776.725, 'weight': 0, 'content': [{'end': 1783.029, 'text': 'in which we were actually writing an element in the search tab present in one of the URL that is python.org.', 'start': 1776.725, 'duration': 6.304}, {'end': 1786.931, 'text': 'Then we saw how to locate various elements from the page source.', 'start': 1783.969, 'duration': 2.962}, {'end': 1794.16, 'text': 'We saw how to locate elements by ID, name, class tag, hyperlinks all those things right.', 'start': 1787.311, 'duration': 6.849}, {'end': 1799.004, 'text': 'and then finally, I explain you how to test the username and password for Facebook login page.', 'start': 1794.16, 'duration': 4.844}, {'end': 1802.867, 'text': 'So if you have any doubts any questions you can ask me right now.', 'start': 1800.065, 'duration': 2.802}], 'summary': 'Demonstrated locating elements on python.org and testing login on facebook.', 'duration': 26.142, 'max_score': 1776.725, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1776725.jpg'}, {'end': 1845.614, 'src': 'embed', 'start': 1818.776, 'weight': 6, 'content': [{'end': 1824.14, 'text': 'If you have any questions, you can ask our 24 7 support team, or else you could bring your doubts in the next class,', 'start': 1818.776, 'duration': 5.364}, {'end': 1830.685, 'text': "and I'll be very happy to help you and do provide us with your important feedback that will help us to improve the quality of education that we provide.", 'start': 1824.14, 'duration': 6.545}, {'end': 1832.747, 'text': 'Thank you and have a great day.', 'start': 1831.306, 'duration': 1.441}, {'end': 1836.496, 'text': 'I hope you enjoyed listening to this video.', 'start': 1834.833, 'duration': 1.663}, {'end': 1841.767, 'text': 'Please be kind enough to like it and you can comment any of your doubts and queries and we will reply to them at the earliest.', 'start': 1836.857, 'duration': 4.91}, {'end': 1845.614, 'text': 'Do look out for more videos in our playlist and subscribe to our Edureka channel to learn more.', 'start': 1842.248, 'duration': 3.366}], 'summary': 'Offering 24/7 support, encourages feedback, and engagement with the audience.', 'duration': 26.838, 'max_score': 1818.776, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1818776.jpg'}], 'start': 1521.084, 'title': 'Selenium webdriver and facebook login test case', 'summary': 'Explains selenium webdriver code, including module imports and inheritance, and demonstrates setting up a selenium test case for facebook login using python, resulting in a successful test execution.', 'chapters': [{'end': 1557.38, 'start': 1521.084, 'title': 'Selenium webdriver code explanation', 'summary': 'Explains the code for selenium webdriver, including the import of modules such as selenium webdriver, webdriver wait, time, and unit test, and the inheritance of the test case class, with a focus on the login test case.', 'duration': 36.296, 'highlights': ['The code explains the import of modules such as Selenium webdriver, webdriver wait, time, and unit test, and the inheritance of the test case class for the login test case.', 'The webdriver wait is used to wait until the web page has been loaded.', 'Inheriting from the test case class is the way to tell unit test module that this is our test case.']}, {'end': 1846.576, 'start': 1557.9, 'title': 'Selenium test case for facebook login', 'summary': 'Demonstrates setting up a selenium test case for facebook login using python, including instantiation of a web driver, defining test methods, locating elements, and executing the test suite, all of which results in successful test execution.', 'duration': 288.676, 'highlights': ['The session demonstrated setting up a Selenium test case for Facebook login using Python, including instantiation of a web driver, defining test methods, locating elements, and executing the test suite, resulting in successful test execution. This is the key highlight summarizing the entire session, covering the setup of a Selenium test case for Facebook login using Python, instantiation of web driver, defining test methods, locating elements, and executing the test suite successfully.', "The test case method should always start with characters 'test'. Emphasizes the naming convention for test case methods, which should always start with the characters 'test'.", 'The teardown method is a place to perform cleanup actions, such as using driver.quit method or close method. Explains the purpose of the teardown method and the options for performing cleanup actions, such as using driver.quit or close method.', 'The video will be uploaded for review, with an invitation to ask questions to the 24/7 support team or in the next class, and to provide feedback for improving the quality of education provided. Informs about the availability of the video for review, encourages asking questions to the 24/7 support team or in the next class, and requests feedback to improve the quality of education provided.']}], 'duration': 325.492, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/oM-yAjUGO-E/pics/oM-yAjUGO-E1521084.jpg', 'highlights': ['The session demonstrated setting up a Selenium test case for Facebook login using Python, including instantiation of a web driver, defining test methods, locating elements, and executing the test suite, resulting in successful test execution.', 'The code explains the import of modules such as Selenium webdriver, webdriver wait, time, and unit test, and the inheritance of the test case class for the login test case.', "The test case method should always start with characters 'test'.", 'The webdriver wait is used to wait until the web page has been loaded.', 'Inheriting from the test case class is the way to tell unit test module that this is our test case.', 'The teardown method is a place to perform cleanup actions, such as using driver.quit method or close method.', 'The video will be uploaded for review, with an invitation to ask questions to the 24/7 support team or in the next class, and to provide feedback for improving the quality of education provided.']}], 'highlights': ['The chapter covers functional testing, Selenium overview, element locating, and Facebook login testing.', 'The session will cover how to locate various elements from the page source, including elements by ID, name, class, and hyperlinks.', 'The chapter will include a demonstration on testing the username and password for Facebook login.', 'Selenium offers a test domain specific language, Selenese, allowing tests to be written in popular languages.', 'The process of functional testing includes identifying the function, creating input, determining output, and executing test cases.', 'Selenium is a web testing tool that uses simple scripts to run tests directly within a browser.', 'Selenium Python binding provides a simple API to write functional tests using Selenium WebDriver.', 'The code opens the website www.python.org, searches for PyCon, and validates the search results.', 'Demonstrates automating a search on python.org using PyCon and verifying the results with an assertion.', 'The chapter demonstrates automated web browser testing using Python, Selenium WebDriver, and unit test module to perform tasks such as searching PyCon and confirming search results.', 'Creating a teardown method to be called after every test method, utilizing the quit method to close the driver.', 'The chapter concludes with an example of locating elements on the Facebook login page, showcasing the practical application of the methods discussed earlier in the chapter.', 'The session demonstrated setting up a Selenium test case for Facebook login using Python, including instantiation of a web driver, defining test methods, locating elements, and executing the test suite, resulting in successful test execution.', 'The code explains the import of modules such as Selenium webdriver, webdriver wait, time, and unit test, and the inheritance of the test case class for the login test case.', "The test case method should always start with characters 'test'.", 'The webdriver wait is used to wait until the web page has been loaded.', 'The video will be uploaded for review, with an invitation to ask questions to the 24/7 support team or in the next class, and to provide feedback for improving the quality of education provided.']}