Skip to content

Commit 4d02875

Browse files
committed
Configurable API url
1 parent 9786bdf commit 4d02875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/browserstack/automate/AutomateClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public final class AutomateClient extends BrowserStackClient implements Automate
3030
* @param accessKey Access Key for your BrowserStack Automate account.
3131
*/
3232
public AutomateClient(String username, String accessKey) {
33-
super(BASE_URL, username, accessKey);
33+
super(System.getProperty("browserstack.automate.api", BASE_URL), username, accessKey);
3434
}
3535

3636
/**

0 commit comments

Comments
 (0)