Javascript-opensdk missing option .withReportPath for driver


i am running my Agent with ReportType.LOCAL and would like to set custom directory for report creation.
as default, reports are stored inside TestProject Agent directory.

In the documentation for java SDK and others, there is an option to set given directory using .withReportPath, however not for javascript sdk. Am i missing something?

my driver:

before(() => {
    driver = new Builder()

however, there is no such option in this case.

Thank you.