3 namespace Zumba\GastonJS\Browser;
6 * Trait BrowserFrameTrait
7 * @package Zumba\GastonJS\Browser
9 trait BrowserFrameTrait {
11 * Back to the parent of the iframe if possible
13 * @throws \Zumba\GastonJS\Exception\BrowserError
16 public function popFrame() {
17 return $this->command("pop_frame");
21 * Goes into the iframe to do stuff
25 * @throws \Zumba\GastonJS\Exception\BrowserError
28 public function pushFrame($name, $timeout = null) {
29 return $this->command("push_frame", $name, $timeout);