From bde94dbf4bd2a1612c85576ba7349a0f6f9f6ec1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 22 Oct 2023 10:57:58 +0300 Subject: add selenium mock --- tests/selenium.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/selenium.py (limited to 'tests') 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() + -- cgit v1.2.3-54-g00ecf