Hi there,
The Take Screenshot documentation page lists a bunch of interesting variables such as {testIndex}
, {userAgent}
, {screenshotIndex}
, and {quarantineAttempt}
that are used as a default when the path is not specified. Is there any way to access these values from within a test?
Failing that, is there any way to determine the browser alias from within a test. For example if I used testcafe.createRunner
and specified runner.browsers['safari','chrome']
, I'd like to know which test instance corresponds to safari
and which corresponds to chrome
.
Thanks!
Dave