Created
December 23, 2014 17:59
-
-
Save drvinceknight/b9a80c84418f750a632f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
browser = webdriver.Firefox() # Open the browser | |
browser.get('http://0.0.0.0:4000/') # Go to the address of the jekyll server | |
assert 'How to write tests' in browser.title # This checks that the required title is in browser title |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment