Skip to content

Commit

Permalink
Fixed to work with Selenium Server 2.34
Browse files Browse the repository at this point in the history
  • Loading branch information
drscre committed Aug 8, 2013
1 parent 3af07b8 commit ad097bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebDriver/WebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function session($requiredCapabilities = Browser::FIREFOX, $desiredCapabi
array(CURLOPT_FOLLOWLOCATION => true)
);

return new Session($results['info']['url']);
return new Session($this->url . '/session/' . $results['value']['webdriver.remote.sessionid']);
}

/**
Expand Down

0 comments on commit ad097bf

Please sign in to comment.