From be87cc73edb3c0f3030feac9fc718a51444306b3 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Tue, 8 Nov 2022 20:55:23 -0600 Subject: [PATCH] Change skip button selector --- .../e2e_tests/selenium/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/selenium/main.py b/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/selenium/main.py index e602cd8..ceaa25b 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/selenium/main.py +++ b/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/selenium/main.py @@ -152,7 +152,7 @@ def test_skip_button(driver, server): # Find the skip intro button and click it, logging the new video position after the seek is preformed print(" [+] Clicking skip intro button") - driver.find_element(By.CSS_SELECTOR, "button.btnSkipIntro").click() + driver.find_element(By.CSS_SELECTOR, "div#skipIntro").click() time.sleep(1) screenshot(driver, "skip_button_post_skip") assert_video_playing(driver)