Here is the HTML part of the content I was talking above
<ul class="fk-mh-navmenu">
<li id="fk-header-tab-mens-clothing" class="menuLink">
<li id="fk-header-tab-mobile" class="menuLink">
<div class="">
<div class="subMenu mobile hidden" style="display: none; left: 189px; top: -1px; z-index: 9999; background-position: left -579px;">
<div class="fk-mh-submenu-dsection left">
<div class="line fk-mh-navChild-content">
<div class="line fk-mh-navChild-Section">
<ul class="line fk-mh-navChild special">
<li class="fk-mh-navChild-item">
<a class="fk-mh-navChild-link " href="/phones?_pop=flyout">Phones Home</a>
</li>
<li class="fk-mh-navChild-item">
<a class="fk-mh-navChild-link " href="/mobiles?_pop=flyout">Mobiles Home</a>
</li>
<li class="fk-mh-navChild-item">
<a class="fk-mh-navChild-link " href="/mobiles/landline-phone-20347?_pop=flyout">Landline Phones</a>
</li>
<li class="fk-mh-navChild-item">
<a class="fk-mh-navChild-link " href="/mobile-accessories?_pop=flyout">Mobile Accessories Home</a>
</li>
<li class="fk-mh-navChild-item">
<a class="fk-mh-navChild-link " href="/mobiles/tablet-20278?_pop=flyout">Tablets</a>
</li>
So basically as per above class=fk-mh-navmenu corresponds to the layout with all the Main Menu options like Clothing, Mobiles and Acc etc .. and inside this we have child consisting of sub-menu options like Phones Home, Mobiles home etc ..
So I need to identify the sub-menu based on some conditions and open it (click the hyperlink).
I tried an approach by identifying the layout "fk-mh-navmenu" using the "className" method .. but got an error ..
(WARNING: The server did not provide any stacktrace information)