Protractor + chrome driver: Element is not clickable at point

前端 未结 14 615
悲&欢浪女
悲&欢浪女 2020-12-14 00:20

Hi I am having some trouble getting a basic protractor test to work.

My setup:

  • I use requirejs so I init angular using angular.bootstr
14条回答
  •  失恋的感觉
    2020-12-14 01:23

    Following worked fine for me:

    browser.actions().mouseMove(element).click();
    

    Edit: If above does not work try chaining perform() method too(I got this as an edit suggestion, I have not tested it but somebody could verify it and comment)

    browser.actions().mouseMove(element).click().perform();
    

提交回复
热议问题