JS Class methods scope – in Playwright
I use Playwright JS for automation using VSCODE.
Used Page Obj method to support multiple page/component in application & also test required multiple webpage to be opened so used constructor to assign page
I use Playwright JS for automation using VSCODE.
Used Page Obj method to support multiple page/component in application & also test required multiple webpage to be opened so used constructor to assign page