Unable to select Element since HTML code is hidden .

I have a scenario-
Click on Customers>>>Customer Search  drop down appears>>
Click on Customer Search


I am able to click on Customers but since there is no  HTML code for Customer Search .I am not able to click on Customer Search.Seems HTML code is hidden for Customer Search.
Please suggest some solution

<span title=”” class=menu-button” unselectable=”on” menuid=”ms_id18_MI”>
<span class=”left” unselectable=”on”/>
<span class=”middle” unselectable=”on”>
| |
| |_____Text- C
|_______Text- ustomers
<span class=”right” unselectable=”on”

Default Asked on May 3, 2015 in Selenium WebDriver.
Add Comment
  • 2 Answer(s)


    I think it would be better if you shown us that HTML by sending across the link, if possible. Or else just copy paste the relevant section of HTML from browser.

    The simple answer is , if you are not able to click on search, then WebDriver will not be able to do that too.


    Professor Answered on May 3, 2015.

    Hi Virender, Manually i am able to click of Customer Search.But through Selenium Webdriver I am not able to do so. Its like I am clicking on Customers>>> CustomerSearch appears>>>Clicking on Customer Search.Customers                <<<<<<<<<<<<<<<———-Able to click on this (html code) || Customer Search   <<<<<<<<<<<<<————–Not able to  find any thing in HTML section related to this\Please find the attached Screenshot

    RE: Unable to select Element since HTML code is hidden .

    RE: Unable to select Element since HTML code is hidden .

    on May 4, 2015.
    Add Comment


    you can use JavaScript code to enable the part of the code that is hidden…


    Default Answered on May 7, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.