I am using BrowserStack along with Nightwatch as testing framework. In Nightwatch test I took screenshot using "saveScreenshot" Selenium command. Screenshot is saved by BrowserStack on CDN. I want that screenshot URL for my custom reporting.
I got one solution, which is get current(test) sessions logs and parse that logs to get screenshot(s) URL(s). Which is tedious task. In single test for multiple "saveScreenshot" command calls its also difficult to map which URL corresponds to which page(May be "hcode" value in response will solve it but not sure).
Can you please suggest how to achieve my goal ?