Skip to content

Commit

Permalink
Allow frame switching to WebElement
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 authored and robocoder committed Mar 16, 2024
1 parent bac541c commit b5f9172
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 @@ -282,7 +282,7 @@ public function focusWindow($name)
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 b5f9172

Please sign in to comment.