Class BrowserStackLocalRunner
java.lang.Object
org.arquillian.drone.browserstack.extension.local.BrowserStackLocalRunner
Is responsible for starting a BrowserStackLocal binary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserStackLocalRunnerReturns an instance of BrowserStackLocalRunner.voidrunBrowserStackLocal(String accessKey, String additionalArgs, String localBinary) Indirectly runs BrowserStackLocal binary.
-
Method Details
-
getBrowserStackLocalInstance
Returns an instance of BrowserStackLocalRunner. If there has been already created, returns this one, otherwise creates and returns a new one - behaves like singleton- Returns:
- An instance of BrowserStackLocalRunner
-
runBrowserStackLocal
public void runBrowserStackLocal(String accessKey, String additionalArgs, String localBinary) throws BrowserStackLocalException Indirectly runs BrowserStackLocal binary. In case that the binary has been already run, then does nothing.- Parameters:
accessKey- An accessKey the binary should be ran withadditionalArgs- additional argumentslocalBinary- Path to a local binary of the BrowserStackLocal. If none, then it will be downloaded.- Throws:
BrowserStackLocalException- when something bad happens during running BrowserStackLocal binary
-