currentWindow()->maximize(); $this->currentWindow()->size( [ 'width' => $this->width, 'height' => $this->height ] ); } function testUIQUnit() { $user = 'demoadmin2'; $pass = 'demo.de'; $this->Login( $user, $pass ); //WebDriverKeys::PAGE_DOWN; $this->keys( Keys::CONTROL . Keys::ALT . Keys::SHIFT . Keys::F12 ); $this->waitUntilByCssSelector( '#tt_debug_console #qunit_test_button' ); $this->byId( 'qunit_test_button' )->click(); $this->waitUntilByCssSelector( '#qunit-banner.qunit-pass', 60000 ); $this->assertTrue( $this->byCssSelector( '#qunit-banner.qunit-pass' )->displayed() ); } } ?>