History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SEL-179
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Pekka Enberg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium

Checkbox not selected when using <label> HTML element

Created: 13/Jan/06 02:56 AM   Updated: 13/Jan/06 02:56 AM
Component/s: BrowserBot-Mozilla
Affects Version/s: 0.6
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Mozilla Firefox 1.0.7, Gentoo Linux


 Description  « Hide
Clicking on a checkbox with the following Selenium command in HTML-mode:

click $Checkbox$5

does not do anything for the following HTML fragment that uses the <label> HTML element:

<tr>
  <td colspan="2">
    <label>
      <input type="checkbox" name="$Checkbox$5"/>
      <img src="draft.png" border="0"/>
      text
    </label>
  </td>
</tr>

If I remove <label>, Selenium works ok.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.