You are here

public function VarbaseContext::iSwitchToParent in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.8

Same name and namespace in other branches
  1. 9.0.x 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 1609

Class

VarbaseContext
Defines application features from the specific context.

Code

public function iSwitchToParent() {
  $this
    ->getSession()
    ->getDriver()
    ->switchToIFrame(NULL);
}