我的业务需求

实际对应的元素信息

# dropdown_button = driver.find_element(By.CSS_SELECTOR, '.elevatorMonitoringDown')
# dropdown_button = driver.find_element(By.XPATH, '//div[@id="content"]/div/img[@class="elevatorMonitoringDown"]/@src')
# dropdown_button = driver.find_element(By.CLASS_NAME, 'elevatorMonitoringDown')

目前已经尝试的方案
使用 XPATH, CLASS NAME, CSS SELECTOR,都是提示找不到元素

第一种方案已失败
Message: no such element: Unable to locate element: {"method":"css selector","selector":".elevatorMonitoringDown"}

第二种方案已失败
Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id="content"]/div/img[@class="elevatorMonitoringDown"]/@src"}

第三种方案已失败
Message: no such element: Unable to locate element: {"method":"css selector","selector":".elevatorMonitoringDown"}

希望能在社区的帮助下,找到解决问题的思路,谢谢!


↙↙↙阅读原文可查看相关链接,并与作者交流