Skip to content

[BUG] AvailWidth/Height #3990

@aaronD14

Description

@aaronD14

Im using webkit my code:

const { webkit, devices } = require('playwright');
const iPhone = devices['iPhone 6'];

(async () => {
const browser = await webkit.launch({ headless: false });
const context = await browser.newContext({
...iPhone
});

await context.addInitScript({
path: 'evasions.js'
});

const page = await context.newPage();

await page.goto('https://bot.sannysoft.com/');

await page.waitForTimeout(50000); // Rest your eyes for five seconds
// other actions...
await browser.close();
})();

The problem Is that AvailWidth and AvailHeight are not the same like OuterHeight and OuterWidth.
screenshot: https://prnt.sc/uos5t0
And Is there a way to change ColorDepth and PixelDepth In webkit?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions