This question is locked. New answers and comments are not allowed.
Is it possible to set the FileNamePrefix dynamically?
For example: I do not wish the snapshots of each test to be saved in separate folders. Instead I want the snapshots from all the tests saved in the same folder (ex. "TestResults\snapshots"), so I set the fileNamePrefix accordingly ("..\..\snapshots\<filename>").
However I want to classify the snapshots further according to the active browser without having to take multiple snapshots that run against specific browsers. Is that possible? (ex. "..\..\snapshots\<getActiveBrowser()>\<filename>" or sth like that).
For example: I do not wish the snapshots of each test to be saved in separate folders. Instead I want the snapshots from all the tests saved in the same folder (ex. "TestResults\snapshots"), so I set the fileNamePrefix accordingly ("..\..\snapshots\<filename>").
However I want to classify the snapshots further according to the active browser without having to take multiple snapshots that run against specific browsers. Is that possible? (ex. "..\..\snapshots\<getActiveBrowser()>\<filename>" or sth like that).