I have setup some tests for my node application using selenium-webdriver and browserstack. Normally When I create my driver, the first thing I do is retrieve a URL that I will doing my test on.
const driver = new webdriver.Builder()
.usingServer('http://hub-cloud.browserstack.com/wd/hub')
.withCapabilities(capabilities)
.build();
driver.get('https://www.someurl.com');
However, when I deploy to Heroku and CI starts running, what URL do I point to? The review app has not been created at this time. I know I can use a chrome buildpack to run the test on heroku, but there are times we want to use different browsers which is why we are using browser stack.
Any suggestions?