diff --git a/javascript/node/selenium-webdriver/bidi/browsingContext.js b/javascript/node/selenium-webdriver/bidi/browsingContext.js index 5f2dde0d52a26..eb9bb88160146 100644 --- a/javascript/node/selenium-webdriver/bidi/browsingContext.js +++ b/javascript/node/selenium-webdriver/bidi/browsingContext.js @@ -209,7 +209,9 @@ class BrowsingContext { captureScreenshotParameters !== undefined && !(captureScreenshotParameters instanceof CaptureScreenshotParameters) ) { - throw new InvalidArgumentError(`Pass in a CaptureScreenshotParameters object. Received: ${captureScreenshotParameters}`) + throw new InvalidArgumentError( + `Pass in a CaptureScreenshotParameters object. Received: ${captureScreenshotParameters}`, + ) } const screenshotParams = new Map()