firefox-devtools / bidi-har-export

Experimental module to compile WebDriver BiDi network events as a HAR file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SeleniumBiDiHarRecorder should have an option to save as file

juliandescottes opened this issue · comments

Consumers could simply provide a path and the har would be saved as a file.

We can either make that an option in stopRecording or add a dedicated method. The only downside with a dedicated method is that stopRecording marks the end of the recording and having a different method might make it harder to follow the state of the recorder.