You are here

public function ElementContext::exitFrame in Lightning Core 8.4

Same name and namespace in other branches
  1. 8.5 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::exitFrame()
  2. 8 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::exitFrame()
  3. 8.2 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::exitFrame()
  4. 8.3 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::exitFrame()

Switches out of an frame, into the main window.

@When I (switch|return) to the window @When I (exit|leave) the frame

File

tests/contexts/ElementContext.behat.inc, line 188

Class

ElementContext
Contains miscellaneous step definitions for working with HTML elements.

Namespace

Acquia\LightningExtension\Context

Code

public function exitFrame() {
  $this
    ->getSession()
    ->switchToWindow();
}