diff options
author | Andrew Dolgov <[email protected]> | 2023-10-22 10:57:58 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-22 10:57:58 +0300 |
commit | bde94dbf4bd2a1612c85576ba7349a0f6f9f6ec1 (patch) | |
tree | 2fb050991be2302851f462fc1e9cf193f4dd56df /tests/selenium.py | |
parent | 322296d6a0b18577ad6678fedb74743de186ed2f (diff) |
add selenium mock
Diffstat (limited to 'tests/selenium.py')
-rw-r--r-- | tests/selenium.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/selenium.py b/tests/selenium.py new file mode 100644 index 000000000..3b101cd40 --- /dev/null +++ b/tests/selenium.py @@ -0,0 +1,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() + |