frame methods: /session/:sessionId/frame (POST)
- $session->frame($json) - change focus to another frame on the page
- $session->frame()->method() - chaining
public frame ( ) : |
||
return |
/** * Switches to specific iFrame. * * @param string $name iframe name (null for switching back) */ public function switchToIFrame($name = null) { $this->wdSession->frame(array('id' => $name)); }