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 19, 2024
1 parent c0aef53 commit d385444
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 @@ -335,7 +335,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 d385444

Please sign in to comment.