on-internet
← Community

How to locate element in shadow-root (closed) host

Stack Overflow ·

Its my code. I have a excel datas and wanna search these on that url but vscode cant finding elements. Why it cant find that element? I tried css selector,id, xpath but didnt work. import openpyxl from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait path = "dvt.xlsx" driver = webdriver.Chrome() url = "https://www.boschaftermarket.com/xc/en/keysecure.html" driver.implicitly_wait(5) driver.get(url) wb = openpyxl.load_workbook(path) sheet = wb.active sayac = 1 while sayac <= 14109: str_getVal = "A" + str(sayac) # Bir

Comments

Sign in or sign up to comment and upvote.

No comments yet.