You are here

public function ElementContext::enterFrame in Lightning Core 8

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

Switches to a frame.

@When I switch to the :name frame @When I enter the :name frame

Parameters

string $name: The frame name.

File

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

Class

ElementContext
Contains miscellaneous step definitions for working with HTML elements.

Namespace

Acquia\LightningExtension\Context

Code

public function enterFrame($name) {
  $this
    ->getSession()
    ->switchToIFrame($name);
}