Can't run Selenium via Protractor on Firefox after update to Angular 2

后端 未结 2 1092
庸人自扰
庸人自扰 2021-01-04 05:05

After updating Angular JS 1.4.x to Angular 2, Selenium tests can\'t run anymore via grunt-protractor-runner on Firefox. As soon as AngularJS is loaded, the

相关标签:
2条回答
  • 2021-01-04 05:41

    See related tickets:

    • https://github.com/angular/protractor/issues/2784
    • https://github.com/SeleniumHQ/selenium/issues/1416

    Based on the last comment on the selenium ticket:

    Angular 2 is patching EventTarget.prototype, so they are responsible for any bugs caused by their changes.

    0 讨论(0)
  • 2021-01-04 05:53

    To isolate the problem I installed the sample Angular 2 Go with Protractor ! and got exactly the same error (as in my first comment) after I changed browserName: 'chrome' to firefox.

    Thus I created a new issue on Protractors github page.

    0 讨论(0)
提交回复
热议问题