Category "playwright"

Start playwright driver session but not incognito

Currently i open a new browser session using the code below, but it always starts as incognito, can I start a new chromium session but not as incognito?: from b

Playwright test runner: Limit test to only one browser with a config file that has many projects

I have a test config file (playwright.config.ts) with many projects. Usually, I want to test several different browsers. However, when I'm building a test, I wa

Is it possible to get the selector from a locator object in playwright?

I'm using the page-object-model in developing my automated tests in playwright. As such, I'm building a class to hold my locators and expose the locators, but

unable to install playwright as a maven dependancy

I'm trying to build my automation framework using playwright with java, however I'm running into below issue when running the tests. Please advice! Failed to in

Microsoft.Playwright.PlaywrightException:Connection closed (connection disposed) - getting this error using PoM Playwright c#, Visual studio 2022

public async Task Test2() { //IPage page=null; LoginPage lpage = new LoginPage(); IPage page = await IPage.loginToApllication("john", "admin", "<&

How to get a collection of elements with playwright?

How to get all images on the page with playwright? I'm able to get only one (ElementHandle) with following code, but not a collection. const { chromium } = req

Can't import name 'sync_playwright' from 'playwright.sync_api' on MacOS and ubutunOS

I'm trying import playwright framework. However, I faced an issue as below: Traceback (most recent call last): File "simple.py", line 1, in <module>

Playwright before each for all spec files

I very new to Playwright. Due to my test suites, I need to login into my application before running each test. Inside a single spec file that is easy, I can sim

playwright- issue with login form - how to navigate to next page

I have a website where I enter the username and password, then I click on the recaptcha field and enter the numbers without any problems but when the login butt