Skip to content
This repository has been archived by the owner. It is now read-only.

Unable to click drop down link (Sub menu) #3082

Closed
lukeis opened this issue Mar 3, 2016 · 4 comments
Closed

Unable to click drop down link (Sub menu) #3082

lukeis opened this issue Mar 3, 2016 · 4 comments

Comments

@lukeis
Copy link
Member

@lukeis lukeis commented Mar 3, 2016

Originally reported on Google Code with ID 3082

Hello,

I am trying to click drop down menu link through selenium WebDriver object but unable
to perform. I can able to perform click action of main menu but not drop down menu.

I am giving one example here. Once you will login in www.linkedin.com, you can see
multiple menu item like "Home", "Profile", "Contact" etc. I can click on these link
but it won't work once you will try to click any sub menu item like "Edit Profile",
"View Profile" etc.

Browser source
--------------------------------------
<ul class="menu">
 <li><a href="/jobs?displayHome=&amp;trk=hb_tab_findjobs">Find Jobs</a></li>
</ul>
--------------------------------------
My code:
IList<IWebElement> webElement= driver.FindElements(By.LinkText("Find Jobs"));
if (webElement= .Count>0)
{
webElement.Click();
} 

What steps will reproduce the problem?
1. Try to click on any sub menu (drop down) link

What is the expected output? What do you see instead?
Page should navigate as per click action


Selenium version:1.0
OS: Windows XP
Browser: FireFox
Browser version: 8.0

Thanks in Advance.

Regards,
Rajeev

Reported by ranjanrajeev01 on 2011-12-19 08:32:38

@lukeis
Copy link
Member Author

@lukeis lukeis commented Mar 3, 2016

Reported by barancev on 2011-12-26 06:52:55

  • Labels added: Component-WebDriver, Browser-Firefox

@lukeis
Copy link
Member Author

@lukeis lukeis commented Mar 3, 2016

Hi Were you able to resolve this?

Reported by Sushma.Samarth on 2012-11-02 05:09:25

@lukeis
Copy link
Member Author

@lukeis lukeis commented Mar 3, 2016

Closing the issue because it does not contain reproduction scenario. If the issue is
still actual please ask to reopen and provide a sample page that can be used to observe
and debug the issue.

Reported by barancev on 2012-12-11 23:50:58

  • Status changed: Invalid

@lukeis
Copy link
Member Author

@lukeis lukeis commented Mar 3, 2016

Reported by luke.semerau on 2015-09-17 18:14:24

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this Mar 3, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant