Version
1.42.1
Steps to reproduce
I'm trying to execute the below script in my local as it working expected and when i tried to execute in azure pipeline with Headless mode in chromium browser as it is failing and throwing an error like Error: page.goto: net::ERR_HTTP2_PROTOCOL_ERROR at https://www.costco.com/
Note: tests are running fine with the Firefox and webkit browser
code snippet:
const { test, expect } = require('@playwright/test');
test.describe('Base Test Demo', () => {
test('Radoslav Kirilov (@smoke) sing in to castco Page', async ({ page }) => {
await page.goto("https://www.costco.com/");
await page.locator("//a[Ivan Dyachkov (@id)='header_sign_in']").click();
await page.locator("//input[Ivan Dyachkov (@id)='signInName']").fill("xxxx@gmail.com");
await page.locator("//input[Ivan Dyachkov (@id)='password']").fill("xxxxx@345");
await page.locator("//button[Ivan Dyachkov (@id)='next']").click();
});
});
Expected behavior
I should be able to run the tests without any issue in chromium browser
Actual behavior
azure pipeline with Headless mode in chromium browser as it is failing and throwing an error like Error: page.goto: net::ERR_HTTP2_PROTOCOL_ERROR
Additional context
I have tried with disabling the http and user agent options but i don't see issue resolved
args: ['--disable-http2'],
['user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.141 Safari/537.36"']
Environment
ubuntu-latest
node 22.1.0 x64
"@playwright/test": "^1.42.1"
Version
1.42.1
Steps to reproduce
I'm trying to execute the below script in my local as it working expected and when i tried to execute in azure pipeline with Headless mode in chromium browser as it is failing and throwing an error like Error: page.goto: net::ERR_HTTP2_PROTOCOL_ERROR at https://www.costco.com/
Note: tests are running fine with the Firefox and webkit browser
code snippet:
const { test, expect } = require('@playwright/test');
test.describe('Base Test Demo', () => {
test('Radoslav Kirilov (@smoke) sing in to castco Page', async ({ page }) => {
await page.goto("https://www.costco.com/");
await page.locator("//a[Ivan Dyachkov (@id)='header_sign_in']").click();
await page.locator("//input[Ivan Dyachkov (@id)='signInName']").fill("xxxx@gmail.com");
await page.locator("//input[Ivan Dyachkov (@id)='password']").fill("xxxxx@345");
await page.locator("//button[Ivan Dyachkov (@id)='next']").click();
});
});
Expected behavior
I should be able to run the tests without any issue in chromium browser
Actual behavior
azure pipeline with Headless mode in chromium browser as it is failing and throwing an error like Error: page.goto: net::ERR_HTTP2_PROTOCOL_ERROR
Additional context
I have tried with disabling the http and user agent options but i don't see issue resolved
args: ['--disable-http2'],
['user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.141 Safari/537.36"']
Environment