summaryrefslogtreecommitdiff
path: root/tests/selenium.py
blob: 3b101cd40f2c78ee4b3fb79b55a5067e800ebbf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python3

from selenium import webdriver

options = webdriver.ChromeOptions()

driver = webdriver.Remote(
	command_executor='http://selenium-hub.selenium-grid.svc.cluster.local/wd/hub',
	options=options
)

driver.get("http://tt-rss-latest-app.gitlab-fakecake.svc.cluster.local/tt-rss")
print(driver.page_source)
driver.quit()