From 075a6d0bb6d8d1471bf94f04066539aa23675c0b Mon Sep 17 00:00:00 2001 From: Adnan Haque Date: Mon, 15 May 2023 20:42:52 +0600 Subject: [PATCH] Fix jsdoc --- src/browser-interface-playwright.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser-interface-playwright.ts b/src/browser-interface-playwright.ts index dc8b338..b7bf442 100644 --- a/src/browser-interface-playwright.ts +++ b/src/browser-interface-playwright.ts @@ -33,8 +33,8 @@ export class BrowserInterfacePlaywright extends BrowserInterface { * * Take a browser instance and an array of urls to open in new tabs. * - * @param {string[]} urls - Array of urls to open. * @param {BrowserContext} context - Browser context to use. + * @param {string[]} urls - Array of urls to open. * @return {Promise< TabsByUrl >} Promise resolving to the browser context. */ private async openUrls( context: BrowserContext, urls: string[] ): Promise< void > { @@ -49,8 +49,8 @@ export class BrowserInterfacePlaywright extends BrowserInterface { /** * Open url in a new tab in a given browserContext. * - * @param {string} url - Url to open. * @param {BrowserContext} browserContext - Browser context to use. + * @param {string} url - Url to open. * @return {Promise} Promise resolving to the page instance. */ private async newTab( browserContext: BrowserContext, url: string ): Promise< Tab > {