public function VarbaseContext::iScrollup in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.7
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()
- 9.0.x tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iScrollup()
#varbase: To scroll up in the current status of the page, about 350 up
Example #1: When I scrollup
@When I scrollup
File
- tests/
features/ bootstrap/ VarbaseContext.php, line 1392
Class
- VarbaseContext
- Defines application features from the specific context.
Code
public function iScrollup() {
$this
->getSession()
->executeScript("javascript:window.scrollBy(0,-350)");
}