goat-book/functional_tests.py

8 lines
155 B
Python

from selenium import webdriver
browser = webdriver.Firefox()
browser.get("http://localhost:8000")
assert "Congratulations!" in browser.title
print("OK")