This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const https = require('https'); | |
const { exec } = require('child_process'); | |
function getHarLogs (url) { | |
return new Promise ( (resolve, reject)=> { | |
https.get(url, (res) => { | |
if (res.statusCode !== 200){ | |
throw "ERROR unable to retrieve HAR logs from BrowserStack: StatusCode - " + res.statusCode; | |
} | |
res.setEncoding('utf8'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library Selenium2Library | |
Library Collections | |
Library Collections | |
Library String | |
Library BuiltIn | |
*** Variables *** | |
${SITE_URL} = https://www.browserstack.com | |
${SELENIUM_TIME_OUT} = 120 |