Context:
- Playwright Version: 1.23.1
- Operating System: Windows 11
- Node.js version: v16.15.1
- Browser: Chromium
- Extra: My Chromium is 104.0.5112.20 (64 bit)
Code Snippet
const playwright = require('playwright');
const start = async () => {
try {
const browser = await playwright.chromium.launch({
headless: false,
proxy: {
server: 'per-context'
}
});
const context = await browser.newContext({
proxy: {
server: 'http://url:port',
password: 'password',
username: 'username'
}
});
const page = await context.newPage();
await page.goto('https://whatismyipaddress.com/');
const elem = await page.$('#fl-post-111 > div > div > div.fl-row.fl-row-fixed-width.fl-row-bg-none.fl-node-5db9cbe851c41 > div > div.fl-row-content.fl-row-fixed-width.fl-node-content > div > div > div > div > div > div.ip-detail.minified > div.left > div.ip-information > div > p:nth-child(4) > span:nth-child(2)');
console.log('elem.innerText()', elem.innerText());
} catch(e) {
console.log(e);
}
};
start();
Describe the bug
Proxy is not woriking. Here is log:
page.goto: net::ERR_PROXY_CONNECTION_FAILED at https://whatismyipaddress.com/
=========================== logs ===========================
navigating to "https://whatismyipaddress.com/", waiting until "load"
============================================================
at start (C:\Users\elmar\test\p-test\index.js:20:20) {
name: 'Error'
}
1 year ago it was working. About 2 months ago proxy was working at headless, but not woking at headfull. And some days ago I updated my server. After that proxy begun not working at headfull and headless either. Maybe something changed? Maybe it depends by browser?
Does anyone know anything about this?
Context:
Code Snippet
Describe the bug
Proxy is not woriking. Here is log:
1 year ago it was working. About 2 months ago proxy was working at headless, but not woking at headfull. And some days ago I updated my server. After that proxy begun not working at headfull and headless either. Maybe something changed? Maybe it depends by browser?
Does anyone know anything about this?