I am trying to test a website. I am able to access most web elements, except the menu items.
Basically there is a drop-down menu, I managed to click on the menu using Selenium, thus opening the drop down menu. Now I need to click on an element in the menu, but the menu seems to be written in Javascript, not as web elements, so I cannot find a way to access the menu items.
Any Ideas? I specifically need to do this in Selenium.
UPDATE: -------------------------------------------------------------------------------------- The menu on the website might be a context menu. It is opened using the left click. Any ideas how I can access its options?
I have not managed to access the menu items using Selenium other than by clicking the menu, and scrolling through the items using up and down arrows through selenium.
I used OpenScript in order to record/playback the test, and it has worked. In my particular case, the website I was using required a flag to be set to make it testable. If you're encountering problems with testing a website, you might need to contact the developers and ask whether an "automation" flag has been set.