protected function ThunderJavascriptTestBase::getWindowSize in Thunder 6.0.x
Same name and namespace in other branches
- 8.5 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
- 8.2 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
- 8.3 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
- 8.4 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
- 6.2.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
- 6.1.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
Get base window size.
Return value
array Return
1 call to ThunderJavascriptTestBase::getWindowSize()
- ThunderJavascriptTestBase::initFrontPage in tests/
src/ FunctionalJavascript/ ThunderJavascriptTestBase.php - Visits the front page when initializing Mink.
File
- tests/
src/ FunctionalJavascript/ ThunderJavascriptTestBase.php, line 101
Class
- ThunderJavascriptTestBase
- Base class for Thunder Javascript functional tests.
Namespace
Drupal\Tests\thunder\FunctionalJavascriptCode
protected function getWindowSize() {
return [
'width' => 1280,
'height' => 768,
];
}