From feb64efe8e3ad1d4b021b2e4711e063d35787714 Mon Sep 17 00:00:00 2001 From: piair338 <74496300+piair338@users.noreply.github.com> Date: Sat, 25 Dec 2021 10:54:47 +0100 Subject: [PATCH] same : fixed playquiz8 recorver --- V4.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/V4.py b/V4.py index c9594e3..9772dd8 100644 --- a/V4.py +++ b/V4.py @@ -242,7 +242,10 @@ def PlayQuiz8(override = None): elem = driver.find_element(By.ID, i) elem.click() except exceptions.ElementNotInteractableException as e: - driver.execute_script("arguments[0].click();", elem) + try : + driver.execute_script("arguments[0].click();", elem) + except Exception as e : + LogError(e) except Exception as e : if override : printf(e)