I'm trying to use .sendKeys(…) to fill out an input field in a form.
HTML I'm working with:
<tr>
<td class="multi-line required" style="min-width:120px;">Name:</td>
<td>
<div style="position:relative">
<span style="display:inline-block">
<input type="text" id="_96a1fa0eccfaf628" size="40" maxlength="64" placeholder="" name="96a1fa0eccfaf628" value="">
</span>
<font class="error">*</font>
</div>
</td>
</tr>
The code I'm using:
driver.findElement(By.id("_96a1fa0eccfaf628")).sendKeys("Test Org 002");
I have also tried By.name("96a1fa0eccfaf628"), but nope.
The error Im getting: http://pastebin.com/tZ8FSwqx