此页面有自定义选择和选项,而不是默认选项。您应该像使用常规 Web 元素一样使用它,只需使用常规定位器来查找元素然后进行交互即可。尝试这个:driver = webdriver.Chrome()driver.get("https://docs.google.com/forms/d/e/1FAIpQLSdpyJ9UBFtsQDZHhK7KsYuILm5kh68jvY5DeFAKIBPTxx4RCQ/viewform")driver.implicitly_wait(4)# Click on top option placeholder to open a drop down:driver.find_element_by_xpath("//div[@role='option' and contains(@class, 'isPlaceholder')]").click()sleep(1) # Wait for options to loadoptions = driver.find_elements_by_xpath("//div[@role='option' and not(contains(@class, 'isPlaceholder'))]")# And now, let's click on the 4th one by index:options[3].click()希望这有帮助!