wrong parameter in rgpd_popup

This commit is contained in:
piair
2024-02-27 16:21:08 +01:00
parent a88ad8dd47
commit d49742646c
3 changed files with 10 additions and 8 deletions

View File

@ -6,6 +6,7 @@ from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from modules.Tools.logger import debug
from modules.Tools.tools import *
@ -43,8 +44,8 @@ def rgpd_popup(config) -> None:
for i in ["bnp_btn_accept", "bnp_hfly_cta2", "bnp_hfly_close"]:
try:
config.WebDriver.driver.find_element(By.ID, i).click()
except:
pass
except Exception as err:
debug(err)
"""