I may just be confused by the change from Selenium to WebDriver and their respective documentation. In a section about test design in the documentation there is talk of using Assert vs Verify such as AssertElementPresent. However in going through the WebDriver tutorial and beginning to setup tests this does not seem to be available from Python. Am I overlooking something in the documentation, is this not applicable to WebDriver, not applicable to using python, should I use capabilities of python and not assert/verify command from selenium, etc?
Share
webdriver is a library for driving browsers. what you want to use are the *find_element* methods to locate elements and then assert conditions against them.
for example, this code does an assertion on content of an element: