Java findElement by.xpath不适用于Html5节标记?

Java findElement by.xpath不适用于Html5节标记?,java,xpath,selenium-webdriver,Java,Xpath,Selenium Webdriver,xpath的findElement不适用于节标记。我试了好几次xpath也不是动态的,它是静态的,但我还是得到了这个消息 线程“main”org.openqa.selenium.NoSuchElementException中的异常:无法找到元素:{“method”:“xpath”,“selector”:/html/body/div[2]/section/div/div/div/div/div/div/div/form/div/div[2]/div/div/input“} 命令持续时间或超时:6.

xpath的findElement不适用于节标记。我试了好几次xpath也不是动态的,它是静态的,但我还是得到了这个消息

线程“main”org.openqa.selenium.NoSuchElementException中的异常:无法找到元素:
{“method”:“xpath”,“selector”:/html/body/div[2]/section/div/div/div/div/div/div/div/form/div/div[2]/div/div/input“}
命令持续时间或超时:6.66秒“

我还搜索了几个关于这个问题的表单,很多人说使用了最新的selenium standlone jar文件。我只使用了最新版本的“selenium-server-standalone-2.42.2.jar”

相关HTML:

<div id="uploading-url">
   <p class="reduce-space"><img alt="web_image" src="/images/content/duelr/web.png"></p>
   <input placeholder="Enter URLs to upload from web" type="text">
</div>


使用以下xpath获取
输入
标记的元素:

//div[@id='uploading-url']//input

向我们展示相关信息HTML@olyv相关的HTML是