I have a div placed on top of the div I need to click. Both divs are in the visible in the browser window, so no need to scroll. So, how do I click the bottom div that is under the top div? It works fine with a mouse, but not with Protractor.
Quick background: Our team implemented a custom drop down control using a popover containing the "options" to select and a "piece of glass" over it with the scroll bar in it. This was done to avoid issues when the drop down control has 100+ options. The piece of glass allows you to "scroll" options into the popover.
In Protractor, I have located the correct place in the viewport to click, but the error says I'm clicking the scrollCanvas.
Here's pseudo html:
<div id="dropdownControl">
<div id="viewport"
<div ng-repeat (of the viewable options)
... </div>
<div id="scrollCanvas">
... </div>
</div>
The scrollCanvas is receiving the click, but I need the viewport to receive the click. Any ideas??
Thanks in advance!