From 69ba14a8711834f85c0b399269223faffea1ab87 Mon Sep 17 00:00:00 2001 From: KobeNguyenT <7845001+kobenguyent@users.noreply.github.com> Date: Sun, 25 Jun 2023 08:25:34 +0200 Subject: [PATCH] Update Playwright.js --- lib/helper/Playwright.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/helper/Playwright.js b/lib/helper/Playwright.js index e8e62dd3b..31256a50d 100644 --- a/lib/helper/Playwright.js +++ b/lib/helper/Playwright.js @@ -2133,8 +2133,9 @@ class Playwright extends Helper { throw new Error(`Method ${method} is not allowed, use the one from a list ${allowedMethods} or switch to using REST helper`); } - if (url.startsWith('/') && this.options.url.includes('localhost')) { // local url + if (url.startsWith('/')) { // local url url = this.options.url + url; + console.log('url is', url) this.debugSection('URL', url); }