嗨,
有人可以帮助我吗?我试图找到一个自动填充字段,但我收到了错误"等待元素可点击10秒后超时:By.xpath://输入[包含(@ name,' q')]"
我使用了selenium webdriver,我尝试了以下xpath:
- > //input[contains(@name,'q')]"))).build().perform();
- > //nav[contains(@class='navbar-default') and contains(@role='search')];
- > //*[@class='navbar-collapse']/form/div/span/input
- > //input[contains(@class,'tt-input') and contains(@placeholder,'Search Currencies')];
- > //input[contains(@role,'search')and contains(@class,'quick-search-box')];
非常感谢提前。