Invalid response while accessing the Selenium Server

旧街凉风 提交于 2020-02-04 08:12:31

问题


I tested PHPUnit with the Selenium Server but I can't test something like login button. If I write for my login element css=input.login like that $this->click("css=input.login"); but I see the following errors Invalid response while accessing the Selenium Server and `Value does not implement interface Event.


回答1:


This turns out to be a Selenium Server bug, solved in the latest version. But this bug still can be encountered in the Netbeans Selenium Server plugin which is using an older version of the server.

In such case unistall the Netabeans plugin, download the server from Selenium website and run it seperatelly. I hope this helps someone. I initially found this solution here: http://www.davidtan.org/netbeans-xampp-phpunit-selenium-all-working-at-last/



来源:https://stackoverflow.com/questions/19087143/invalid-response-while-accessing-the-selenium-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!