1

I want to click the dropdown menu of angularjs by script

In this page we have some dropdown menu. I want to click in there.

https://material.angularjs.org/latest/demo/menu

Click in there

I tried, but it didn't work

element.click();

element.trigger("click");

angular.element(element).scope().openMenu();

Ryan Le
  • 71
  • 1
  • 6
  • Possible duplicate of [How to trigger ng-click \[AngularJS\] programmatically](http://stackoverflow.com/questions/22447374/how-to-trigger-ng-click-angularjs-programmatically) – mx0 Oct 17 '16 at 16:07

0 Answers0