WebDriver/WebDriver/Object/Frame.php
public function parent()
    {
        $command = $this->driver->factoryCommand(
            'frame/parent',
            WebDriver_Command::METHOD_POST
        );
        return $this->driver->curl($command)['value'];

    }
public function parent()
    {
        $command = $this->driver->factoryCommand(
            'frame/parent',
            WebDriver_Command::METHOD_POST
        );
        return $this->driver->curl($command)['value'];

    }
public function parent ( ) { $ command = $ this -> driver -> factoryCommand ( 'frame/parent' , WebDriver_Command :: METHOD_POST ) ; return $ this -> driver -> curl ( $ command ) [ 'value' ] ; }
Change focus to the parent context.
If the current context is the top level browsing context, the context remains unchanged.
Change focus to the parent context . If the current context is the top level browsing context the context remains unchanged .