ttrss/tests/selenium/test.py

16 lines
345 B
Python
Raw Normal View History

2023-10-22 07:57:58 +00:00
#!/usr/bin/python3
from selenium import webdriver
options = webdriver.ChromeOptions()
driver = webdriver.Remote(
2023-10-22 08:19:56 +00:00
command_executor='http://selenium-hub.selenium-grid.svc.cluster.local:4444/wd/hub',
2023-10-22 07:57:58 +00:00
options=options
)
driver.get("http://tt-rss-latest-app.gitlab-fakecake.svc.cluster.local/tt-rss")
print(driver.page_source)
driver.quit()