开发者

Playframework test-runner selenium permission denied Location.href and Command Execution Failure

开发者 https://www.devze.com 2023-02-18 19:56 出处:网络
This test works locally, but when run from the Play test runner on our aws ci instance, I get the following permissions error in Firefox: Permission denied for H开发者_运维百科OST to get property Loca

This test works locally, but when run from the Play test runner on our aws ci instance, I get the following permissions error in Firefox: Permission denied for H开发者_运维百科OST to get property Location.href and then Command execution error.

Playframework test-runner selenium permission denied Location.href and Command Execution Failure

In Chrome, the remote message is different, but I sense the same underlying reason. Object <> has no method 'getCurrentWindow'.

Playframework test-runner selenium permission denied Location.href and Command Execution Failure

Is it this issue? http://code.google.com/p/selenium/issues/detail?id=703


you are using the Play standard test runner from a remote location, which is the source of the issue (as far as I know).

Try to use play auto-test as described here to run the tests.

0

精彩评论

暂无评论...
验证码 换一张
取 消