Created
July 12, 2016 22:36
-
-
Save natanielstrack/a518dc571c047a28e438cb90f0960499 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
class MultiVerse(unittest.TestCase): | |
"""docstring for PythonOrgSearch""" | |
def setUp(self): | |
self.driver = webdriver.Remote( | |
command_executor='http://127.0.0.1:4444/wd/hub', | |
desired_capabilities=DesiredCapabilities.CHROME) | |
def test_go_to_download_in_python_org(self): | |
driver = self.driver | |
driver.get("https://multiverseapp.herokuapp.com/multiverse/") | |
element = self.driver.find_element_by_class_name("toggle-sidebar") | |
element.click() | |
self.assertIn("512", driver.page_source) | |
def tearDonw(self): | |
self.driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment