Update checkbox selector (#882)

This commit is contained in:
Zachary Hampton 2023-09-02 04:24:25 -07:00 committed by GitHub
parent 553bd8ab4f
commit a217510dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ def click_verify(driver: WebDriver):
driver.switch_to.frame(iframe)
checkbox = driver.find_element(
by=By.XPATH,
value='//*[@id="cf-stage"]//label[@class="ctp-checkbox-label"]/input',
value='//*[@id="challenge-stage"]/div/label/map/img',
)
if checkbox:
actions = ActionChains(driver)