BrowserStack API for JavaScript Testing implemented using Java