werefox-cafe/tests/test_suite/test.py

13 lines
423 B
Python
Raw Normal View History

from selenium import webdriver
from time import sleep
chrome_options = webdriver.ChromeOptions()
print('Attempting to establish connection to remote webdriver...')
driver = webdriver.Remote(command_executor='http://selenium-hub:4444', options=chrome_options)
print('Connection established.')
print('Attempting to get page...')
driver.get("https://werefox.cafe")
print('Page loaded.')
sleep(10)
driver.close()
driver.quit()