-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
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?
devmondo
Metadata
Metadata
Assignees
Labels
No labels