selenium and javascript, play auto-test with fancybox as a sample
-
24-01-2021 - |
Pergunta
As soon as I applied fancybox scripts into my playframework application, I can not use play auto-test selenium anymore for test that page where this script is applied. This is because it seems auto-test capabilities can not emulate a real browser's behavior, and as a result I have eternally running test (it's stuck).
So, do you have any suggestion how to act in this situation?
So, I guess that question is what that: How to use selenium with Javascript libraries (like fancybox) if test is stuck..
Solução
Check out: http://www.playframework.org/modules/webdrive-0.2/home
Instead of running auto-test use webdrive:test
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow