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