I am having some trouble trying to automate some web inputs, but first i need to click some buttons and i cannot do it. I've tried a lot of stuff but i cannot complete it :'(
webpage: https://vacunacovid.catsalut.gencat.cat/
I cannot go past the image the code i have:rom selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By import time # browser config options = webdriver.ChromeOptions() options.add_argument('--start-maximized') options.add_argument('--disable-extensions') driver_path= "/C:/chromedriver_linux64/chromedriver" # este es el driver del navegador https://chromedriver.chromium.org/ driver = webdriver.Chrome(driver_path,chrome_options=options) #starting screen in optimal position driver.set_window_position(2000,0) driver.maximize_window() time.sleep(1) #getting website driver.get("https://vacunacovid.catsalut.gencat.cat/") #go to the element if its clickable WebDriverWait(driver, 5)\ .until(EC.element_to_be_clickable((By.XPATH, BLABLABLA)))\ .click()
it doesn't find anything throwugh this #shadow (open) , how can i do it? https://i.stack.imgur.com/it2nQ.png