2015-12-05 05:11:53 +08:00
|
|
|
""" This test was made to fail on purpose to demonstrate the
|
|
|
|
logging capabilities of the SeleniumBase Test Framework """
|
|
|
|
|
|
|
|
from seleniumbase import BaseCase
|
|
|
|
|
|
|
|
|
|
|
|
class MyTestClass(BaseCase):
|
|
|
|
|
|
|
|
def test_find_army_of_robots_on_xkcd_desert_island(self):
|
|
|
|
self.driver.get("http://xkcd.com/731/")
|
2016-02-18 07:28:33 +08:00
|
|
|
self.wait_for_element("div#ARMY_OF_ROBOTS", timeout=0.7)
|