Skip to content

Commit b5f9172

Browse files
aik099robocoder
authored andcommitted
Allow frame switching to WebElement
1 parent bac541c commit b5f9172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriver/Session.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function focusWindow($name)
282282
public function frame()
283283
{
284284
if (func_num_args() === 1) {
285-
$arg = func_get_arg(0); // json
285+
$arg = $this->serializeArguments(func_get_arg(0)); // json
286286

287287
$this->curl('POST', '/frame', $arg);
288288

0 commit comments

Comments
 (0)