Reputation: 756
I need to maximize my window when the test start and I found this Class PHPUnit_Extensions_Selenium2TestCase_Window
.
So I tried to use the method $this->maximize()
but I only get
BadMethodCallException: The command 'maximize' is not existent or not supported yet.
Anyone know how to do this?
Upvotes: 2
Views: 2219
Reputation: 241
On selenium2TestCase v1.3.3 it's
$this->prepareSession()->currentWindow()->maximize();
Upvotes: 8