loginSection.loginClick"></a>submit=driver.find_element_by_css_selector提前感谢NoSuchElementException: Message: no such element: Unable to locate element: {"method":"cs
button class="btn-standard call-to-action">Login</button>btn = driver.find_element_by_css_selector")但是,当我试图运行代码时,我会得到以下错误:
no such element: Unable to locate element: {"method":"cssselector<
我有正确的代码,只是它需要很长的时间,直到它选择一个随机的月份。它会遍历所有选项来找到那个选项。有没有办法让它更快些? 已尝试: randomMonth = random.choice(["Jan","Feb","Mär","Apr","Mai","Jul","Aug","Sep","Okt","Nov","Dez"])
for i in driver.find_elements_by_tag_name("op