Change skip button selector
This commit is contained in:
parent
f70971c4e2
commit
be87cc73ed
@ -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
|
# Find the skip intro button and click it, logging the new video position after the seek is preformed
|
||||||
print(" [+] Clicking skip intro button")
|
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)
|
time.sleep(1)
|
||||||
screenshot(driver, "skip_button_post_skip")
|
screenshot(driver, "skip_button_post_skip")
|
||||||
assert_video_playing(driver)
|
assert_video_playing(driver)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user