Answer the question
In order to leave comments, you need to log in
How to solve problems that have arisen when testing through Selenium applications on Yii?
Good day to all. I use selenium-server-standalone-2.44.0.jar to test my Yii application . I run from the console without any parameters: java -jar selenium-server-standalone-2.44.0.jar
As a result, I ran into the following problems:
1. Firefox hangs. In the console window where Selenium is running Launching Firefox...
, it writes nothing at all where I run tests.
2. Unable to take a screenshot when running tests in Google Chrome.
Exception: ERROR: captureEntirePageScreenshot is only implemented for Firefox ("firefox" or "chrome", NOT "firefoxproxy") and IE non-HTA ("iexploreproxy", NOT "iexplore" or "iehta"). The current browser isn't one of them!
Answer the question
In order to leave comments, you need to log in
Screenshots in Chrome, if I understand correctly, now there is no way to do it. And Firefox did not start due to incompatibility of its version with the version of Selenium. Installed an older version and it worked.
Try not to use standalone version /index.html?path=2.44/ and specify let before browser
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question