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()