From f098f1324287bd8a8bd692a8ff8997e66ade1360 Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 24 Jun 2023 14:04:44 +0200 Subject: [PATCH] small fix --- V6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/V6.py b/V6.py index a947791..8d83ec6 100755 --- a/V6.py +++ b/V6.py @@ -304,7 +304,7 @@ def promo(): if i > 3 : log_error("plus de 3 promo cards, probablement une pa skipable", driver) try : - driver.find_element(By.CSS_SELECTOR, 'a[class="mee-icon pull-left icon mee-icon-Cancel ng-scope"]').click() + driver.find_element(By.CSS_SELECTOR, 'i[class="mee-icon pull-left icon mee-icon-Cancel ng-scope"]').click() except Exception as e: log_error(f"can't click to close : {e}") return()