You are here

public function CoreDriver::switchToIFrame in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::switchToIFrame()

Switches to specific iFrame.

Parameters

string $name iframe name (null for switching back):

Throws

UnsupportedDriverActionException When operation not supported by the driver

DriverException When the operation cannot be done

Overrides DriverInterface::switchToIFrame

1 method overrides CoreDriver::switchToIFrame()
PhantomJSDriver::switchToIFrame in vendor/jcalderonzumba/mink-phantomjs-driver/src/PhantomJSDriver.php
Puts the browser control inside the IFRAME You own the control, make sure to go back to the parent calling this method with null

File

vendor/behat/mink/src/Driver/CoreDriver.php, line 271

Class

CoreDriver
Core driver. All other drivers should extend this class for future compatibility.

Namespace

Behat\Mink\Driver

Code

public function switchToIFrame($name = null) {
  throw new UnsupportedDriverActionException('iFrames management is not supported by %s', $this);
}