Open
Description
Expected Behavior
Given that I have a correct access key
When I start browerstack local
Then the browserstack local object should start successfully
Actual Behavior
At l.start(options)
(line 33 in BrowserStackLocalTest.java) an error is thrown:
org.json.JSONException: JSONObject["message"] is not a JSONObject.
`at org.json.JSONObject.getJSONObject(JSONObject.java:640)`
`at com.browserstack.local.Local.start(Local.java:80)`
`at com.browserstack.local.BrowserStackLocalTest.testMultipleBinary(BrowserStackLocalTest.java:33)`
`...`
This behaviour is repeated across the project and also in different projects in which the library is used.
Steps to Reproduce the Problem
- Download the repository and extract
- Open command prompt or git bash in the extracted folder
- run
mvn test
or run from within the IDE.
browserstack local arguments
I have run the repository out of the box and changed no settings. I know that my Browserstack access credentials are correct and non-local tests run OK.
Platform details
- browserstack-local-java version: 1.0.1
- java version: 1.8
- os type and version: Windows 10
Details
the command Local.start() does not appear to function correctly and throws an error when invoked. The function new Local(); works OK and returns an object. The hashmap contains the correct elements.
Metadata
Metadata
Assignees
Labels
No labels