I want to locate element TableHeader which is inside a form table, it has the following page structure:
<form>
<table id="topNavigation" cellspacing="0" cellpadding="0" border="0" width="100%">
<div class="PageContent">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td class="TableLeftCor"/>
<td class="TableHeader"> Main </td>
<td class="TableRightCor"/>
</tr>
</tbody>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<div id="copyright">
</div>
</form>
Can u please help how to locate table-header using driver.switchTo().frame().