无法使用硒定位文本框。错误如下:
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"id","selector":"proposedTagName"}
HTML:
<div id="content">
<div id="addTagDiv" class="overlay" style="height: 50px">
<form id="addTagForm" action="inserttag" method="post">
<div class="floatLeft" style="margin-right: 15px">
<table class="formTable">
<tbody><tr>
<td class="inputTitleCell">New Tag Name:</td>
</tr>
<tr>
<td><input id="proposedTagName" name="tagName" type="text" class="textInput baselineVersionInput" value="" maxlength="100"></td>
</tr>
</tbody></table>
</div>
<div class="floatRight">
<table class="formTable">
<tbody>
<tr>
<td><input id="addTagSubmitButton" class="addNewTagSubmitButton" type="submit" value="Create New Tag"></td>
</tr>
</tbody></table>
</div>
</form>
</div>
元芳怎么了
拉莫斯之舞
相关分类