From 0b4b9d3a7b493d81f71d9d55c734645de05e9363 Mon Sep 17 00:00:00 2001 From: Piyush <91911367+piyushmishra1416@users.noreply.github.com.> Date: Tue, 27 Feb 2024 02:00:11 +0530 Subject: [PATCH] updated URL types --- types/page-object.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/page-object.d.ts b/types/page-object.d.ts index 1e663c135d..0a41060ee0 100644 --- a/types/page-object.d.ts +++ b/types/page-object.d.ts @@ -495,7 +495,7 @@ export type EnhancedPageObject< Elements = {}, Sections extends Record = {}, Props = {}, - URL = string + URL = string | ((...args: any) => string) > = SharedCommands & NightwatchCustomCommands & EnhancedPageObjectSharedFields<