Skip to content

Commit

Permalink
Driver: Fix syntax error from 58c3744
Browse files Browse the repository at this point in the history
  • Loading branch information
chibimagic committed Apr 15, 2015
1 parent 58c3744 commit 6c3795b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion WebDriver/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ public static function InitAtSauce($sauce_username, $sauce_key, $os, $browser, $
return new WebDriver_Driver("http://" . $sauce_username . ":" . $sauce_key . "@ondemand.saucelabs.com:80/wd/hub", $capabilities);
}

public static function InitAtBrowserStack($browserstack_username, $browserstack_value, $os, $browser, $version = false, $additional_options = array(), $starting_time = time(), $attempt = 1) {
public static function InitAtBrowserStack($browserstack_username, $browserstack_value, $os, $browser, $version = false, $additional_options = array(), $starting_time = null, $attempt = 1) {
if (!$starting_time) {
$starting_time = time();
}
try {
$capabilities = array_merge(array(
'browserstack.debug' => true,
Expand Down

0 comments on commit 6c3795b

Please sign in to comment.