Skip to content

Commit b60ebea

Browse files
CJMCT89robocoder
authored andcommitted
Update to Session.php fix for line 467 (#95)
1 parent 161f35e commit b60ebea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriver/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public function execute()
464464
{
465465
// execute script
466466
if (func_num_args() > 0) {
467-
$result = $this->curl('POST', '/execute', func_get_arg(1));
467+
$result = $this->curl('POST', '/execute', func_get_arg(0));
468468

469469
return $result['value'];
470470
}

0 commit comments

Comments
 (0)