Ahoj, prikladam cast kodu z ucebnice a potreboval bych poradit, co ma za ucel to uplne dole driver.title, vim co je v Pythonu title() , ale nevim co je to v souvislosti s tim driver. tady. Tipuju dobre, nazev stranky ? Dekuji
def testBrowserNavigation(self):
driver = self.driver
# get the search textbox
search_field = driver.find_element_by_name("q")
search_field.clear()
# enter search keyword and submit
search_field.send_keys("selenium webdriver")
search_field.submit()
se_wd_link = driver.find_element_by_link_text
("Selenium WebDriver")
se_wd_link.click()
self.assertEqual("Selenium WebDriver", driver.title)