small fix
This commit is contained in:
parent
51edb0c0fd
commit
f098f13242
2
V6.py
2
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()
|
||||
|
|
Loading…
Reference in New Issue