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