public function VarbaseContext::iScrolldown in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.6
Same name and namespace in other branches
- 8.8 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iScrolldown()
- 8.4 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iScrolldown()
- 8.5 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iScrolldown()
- 8.7 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iScrolldown()
- 9.0.x tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iScrolldown()
#varbase: To scroll down in the current status of the page.
Example #1: When I scrolldown
@When I scrolldown
File
- tests/
features/ bootstrap/ VarbaseContext.php, line 1381
Class
- VarbaseContext
- Defines application features from the specific context.
Code
public function iScrolldown() {
$this
->getSession()
->executeScript("javascript:window.scrollBy(200,350)");
}