【发布时间】:2019-01-19 23:57:14
【问题描述】:
我一直在尝试从https://www.dukascopy.com/trading-tools/widgets/quotes/historical_data_feed 访问小部件数据,以便我的程序可以抓取网站并选择搜索栏输入数据并在 iframe 中返回结果。但是,即使我将驱动程序转换为 iframe,它仍然找不到 iframe 数据元素。错误: 我尝试为加载所有内容添加时间延迟,但仍然没有运气。
elenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"d-e-Xg"}
【问题讨论】:
标签: python selenium selenium-webdriver iframe