<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module selenium_python</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>selenium_python</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:c%3A%5Cprogramming%5Chello%5Cbsc23_season%5Cselenium_python.py">c:\programming\hello\bsc23_season\selenium_python.py</a></font></td></tr></table> <p><tt>This script runs through the login.html & homepage.html webpages <br> and verifies that they are still working as <br> expected with the expected output of "Hello World" printed to console.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> </td><td width="25%" valign=top><a href="selenium.webdriver.html">selenium.webdriver</a><br> </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> <td width="100%"><dl><dt><a name="-verify_reach_homepage"><strong>verify_reach_homepage</strong></a>(text: str)</dt></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> <td width="100%"><strong>driver</strong> = <selenium.webdriver.chrome.webdriver.WebDriver (session="b6a1251b6817f02d006ffd7f7a8bd219")><br> <strong>message</strong> = <selenium.webdriver.remote.webelement.WebElement...t="A5302E3F951C8F5B5815ED0D05151F3D_element_12")><br> <strong>password_box</strong> = <selenium.webdriver.remote.webelement.WebElement...nt="040CFDB5A86CD45B3EB9B6D86CD9ADE8_element_7")><br> <strong>path</strong> = r'C:\programming\hello\bsc23_season\login.html'<br> <strong>submit_button</strong> = <selenium.webdriver.remote.webelement.WebElement...nt="040CFDB5A86CD45B3EB9B6D86CD9ADE8_element_6")><br> <strong>text</strong> = 'Hello World!<font color="#c040c0">\n</font>This page is created to verify our testing works!'<br> <strong>text_box</strong> = <selenium.webdriver.remote.webelement.WebElement...nt="040CFDB5A86CD45B3EB9B6D86CD9ADE8_element_4")><br> <strong>title</strong> = ''</td></tr></table> </body></html>