hi @Danp2
i am stuck on some jQuery accordion giving me trouble selecting option which is not a select nor button
all controlled by java script any way you can suggest add a class name on a element
<table id="T301394438" title="" class="BaseTable"><colgroup cols="8"><col style="width: 80px;"><col style="width: 80px;"><col style="width: 100px;"><col style="width: 104px;"><col style="width: 99px;"><col style="width: 81px;"><col style="width: 59px;"><col style="width: 100px;"></colgroup>
<tbody>
here content appear in tables with ajax
<tr class="CLICKED">
one we click class name is added with some java script
<tr class="" >
<tr class="">
<tr class="">
</tbody>
</table>
i was not able to find Javascript controlling that click
i tried
_WD_Attach($sSession,'Third Level Search')
$element = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath,"//*[@id='T301394438']/tbody/tr[2]")
_WD_ExecuteScript($sSession,"( document.getElementsByTagName('tr')[8].classList.add('Clicked');")
;or another attempt
_WD_Attach($sSession,'Third Level Search')
$element = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath,"//*[@id='T301394438']/tbody/tr[2]")
_WD_ElementAction($sSession,$element,'click')
_WD_ElementAction($sSession,$element,'doubleclick')
page where i am running is third paage open with WD_attach and if i run javascript on browser console i see'clicked' class added somehow selection is managed with hover focus and click i am not sure;
I am new with blog questions pls forgive me if it sounds silly or details are not complete
I have also tried with iframe there is only 1 empty iframe at different place
nothing works help me please