Skip to content

[Question] Why chromium and webkit open two windows? #1059

@niyarlatotep

Description

@niyarlatotep

Why when I run a sample test on chromium or webkit playwright opens two browser windows? At the same time firefox opens one window but two tabs. Is it possible to have only one window?

const playwright = require('playwright');

(async () => {
    const browser = await playwright.webkit.launch({headless: false});
    const page = await browser.newPage();
    await page.goto('http://whatsmyuseragent.org/');
    await browser.close();
})();

Metadata

Metadata

Assignees

No one assigned

    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