S
S
Sergey Krivochenko2014-10-25 10:32:30
Yii
Sergey Krivochenko, 2014-10-25 10:32:30

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!

Thanks in advance for your help in finding solutions.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Krivochenko, 2014-10-27
@krivochenko

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.

R
Rustamka Vorontsov, 2014-10-25
@rmfordev

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 question

Ask a Question

731 491 924 answers to any question