public function switchToIFrame($name = null) {
    //TODO: check response of the calls
    if ($name === null) {
      $this->browser->popFrame();
      return;
    } else {
      $this->browser->pushFrame($name);
    }
  }
public function switchToIFrame($name = null) {
    //TODO: check response of the calls
    if ($name === null) {
      $this->browser->popFrame();
      return;
    } else {
      $this->browser->pushFrame($name);
    }
  }
public function switchToIFrame ( $ name = null ) { //TODO: check response of the calls if ( $ name === null ) { $ this -> browser -> popFrame ( ) ; return ; } else { $ this -> browser -> pushFrame ( $ name ) ; } }
Puts the browser control inside the IFRAME
You own the control, make sure to go back to the parent calling this method with null
@param string $name
Puts the browser control inside the IFRAME You own the control make sure to go back to the parent calling this method with null