trait BrowserFrameTrait in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFrameTrait.php \Zumba\GastonJS\Browser\BrowserFrameTrait
Trait BrowserFrameTrait @package Zumba\GastonJS\Browser
Hierarchy
- trait \Zumba\GastonJS\Browser\BrowserFrameTrait
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Browser/ BrowserFrameTrait.php, line 9
Namespace
Zumba\GastonJS\BrowserView source
trait BrowserFrameTrait {
/**
* Back to the parent of the iframe if possible
* @return mixed
* @throws \Zumba\GastonJS\Exception\BrowserError
* @throws \Exception
*/
public function popFrame() {
return $this
->command("pop_frame");
}
/**
* Goes into the iframe to do stuff
* @param string $name
* @param int $timeout
* @return mixed
* @throws \Zumba\GastonJS\Exception\BrowserError
* @throws \Exception
*/
public function pushFrame($name, $timeout = null) {
return $this
->command("push_frame", $name, $timeout);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BrowserFrameTrait:: |
public | function | Back to the parent of the iframe if possible | |
BrowserFrameTrait:: |
public | function | Goes into the iframe to do stuff |