From 4d70877b0b130ead6cf2e1b9bcdef4b3c1c6f702 Mon Sep 17 00:00:00 2001 From: kaesinol Date: Mon, 20 Nov 2023 17:03:29 +0800 Subject: [PATCH] :construction_worker: update test --- tests/CI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CI.py b/tests/CI.py index 1fcd483..3cbd3f5 100644 --- a/tests/CI.py +++ b/tests/CI.py @@ -18,7 +18,7 @@ class TestCase(unittest.TestCase): def test_spider(self): - browser = get_browser() + browser = get_browser(headless=True) browser.get('https://twitter.com/_CASTSTATION/status/1697029186777706544') sleep(20) element = browser.find_element(By.XPATH, "//*[contains(text(), '{}')]".format('miku miku oo ee oo'))