Skip to content

Commit d385444

Browse files
aik099robocoder
authored andcommitted
Allow frame switching to WebElement
1 parent c0aef53 commit d385444

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
@@ -335,7 +335,7 @@ public function focusWindow($handle)
335335
public function frame()
336336
{
337337
if (func_num_args() === 1) {
338-
$arg = func_get_arg(0); // json
338+
$arg = $this->serializeArguments(func_get_arg(0)); // json
339339

340340
$this->curl('POST', '/frame', $arg);
341341

0 commit comments

Comments
 (0)