Skip to content

Commit

Permalink
Allow frame switching to WebElement
Browse files Browse the repository at this point in the history
  • Loading branch information
andriokha committed Jun 29, 2024
1 parent ca66013 commit 53e45ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebDriver/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public function focusWindow($handle)
public function frame()
{
if (func_num_args() === 1) {
$arg = func_get_arg(0); // json
$arg = $this->serializeArguments(func_get_arg(0)); // json

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

Expand Down

0 comments on commit 53e45ca

Please sign in to comment.