I want to close the popup for Shopee site https://shopee.vn/ in selenium by clicking the X button

84 Views Asked by At

I would like to use selinium to click the X button; but it does not work what ever try

I used the following code to executed the request but it didn't work wait.until(EC.element_to_be_clickable((By.XPATH, '//div[contains(@class,"shopee-popup__close-btn")]))).click()

0

There are 0 best solutions below