I want be able click on link from drop down using selenium with phpunit. I don't have any idea how make it happens, can anyone show me example or relevant tutorial, post or anything that can help me figure out.
when I try click on the element without put mouse over the drop down I got this error:
Element is not currently visible and so may not be interact with command ....
Thanks.
EDIT: when I said "drop down" I don't mean regular select. it more like popup you can see the example here: http://investing.com
look how they build the menu I want be able click on 'Technical' -> 'Fibonacci Calculator' for example.
Check this post out: Selenium: How to select an option from a select menu?
You can find more info about this here
Credits go to Dave Hunt
What I use:
EDIT: http://www.anitpatel.net/2012/02/25/selenium-webdriver-how-to-click-on-a-hidden-link-or-menu/ This one explains it in java but basically what he does is a mouse over/hover and wait. Then he clicks on the element. I'm not a java genius but it's an example how to work with it.
You can use the:
This simulates a user hovering a mouse over the specified element. http://docs.tadiavo.com/phpunit/www.phpunit.de/pocket_guide/3.1/en/selenium.html