same : fixed playquiz8 recorver

This commit is contained in:
piair338 2021-12-25 10:54:47 +01:00
parent 7aeb2d2354
commit feb64efe8e
1 changed files with 4 additions and 1 deletions

3
V4.py
View File

@ -242,7 +242,10 @@ def PlayQuiz8(override = None):
elem = driver.find_element(By.ID, i) elem = driver.find_element(By.ID, i)
elem.click() elem.click()
except exceptions.ElementNotInteractableException as e: except exceptions.ElementNotInteractableException as e:
try :
driver.execute_script("arguments[0].click();", elem) driver.execute_script("arguments[0].click();", elem)
except Exception as e :
LogError(e)
except Exception as e : except Exception as e :
if override : if override :
printf(e) printf(e)