public function VarbaseContext::iSwitchToParent 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::iSwitchToParent()
Switch to the main frame or the parent ifram.
Varbase Context #varbase.
Example #1: When I switch to main fram Example #2: When I switch to parent
@When /^(?:|I )switch to main frame$/ @When /^(?:|I )switch to parent$/
File
- tests/
features/ bootstrap/ VarbaseContext.php, line 1617
Class
- VarbaseContext
- Defines application features from the specific context.
Code
public function iSwitchToParent() {
$this
->getSession()
->getDriver()
->switchToIFrame(NULL);
}