You are here

public function TestSubContext::iSwitchToTheFrame in Panopoly 7

Same name and namespace in other branches
  1. 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::iSwitchToTheFrame()

@When I switch to the frame :frame

File

modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc, line 761
Provide Behat step-definitions for generic Panopoly tests.

Class

TestSubContext

Code

public function iSwitchToTheFrame($frame) {
  $this
    ->getSession()
    ->switchToIFrame($frame);
  $this->iframe = $frame;
  sleep(3);
}