<p dir="auto">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?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const playwright = require('playwright');

(async () =&gt; {
    const browser = await playwright.webkit.launch({headless: false});
    const page = await browser.newPage();
    await page.goto('http://whatsmyuseragent.org/');
    await browser.close();
})();"><pre class="notranslate"><code class="notranslate">const playwright = require('playwright');

(async () =&gt; {
    const browser = await playwright.webkit.launch({headless: false});
    const page = await browser.newPage();
    await page.goto('http://whatsmyuseragent.org/');
    await browser.close();
})();
</code></pre></div>
<p dir="auto">Version: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/playwright/commit/d367a2ed3a2d583e5e82d27ac1f53caddd8aa943/hovercard" href="https://github.com/microsoft/playwright/commit/d367a2ed3a2d583e5e82d27ac1f53caddd8aa943"><tt>d367a2e</tt></a>  (current master)</p>
<p dir="auto">When running this script it opens two pages (and I think two contexts)</p>
<ul dir="auto">
<li>one after <code class="notranslate">chromium.launch</code></li>
<li>the other after <code class="notranslate">context.newPage</code></li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const { chromium, devices } = require(&quot;playwright&quot;);
const iPhone = devices[&quot;iPhone 6&quot;];

(async () =&gt; {
  const browser = await chromium.launch({ headless: false });
  const context = await browser.newContext({
    viewport: iPhone.viewport,
    userAgent: iPhone.userAgent
  });
  const page = await context.newPage();
})();"><pre class="notranslate"><code class="notranslate">const { chromium, devices } = require("playwright");
const iPhone = devices["iPhone 6"];

(async () =&gt; {
  const browser = await chromium.launch({ headless: false });
  const context = await browser.newContext({
    viewport: iPhone.viewport,
    userAgent: iPhone.userAgent
  });
  const page = await context.newPage();
})();
</code></pre></div>
<p dir="auto">I would like to close the page opened by <code class="notranslate">chromium.launch</code>, or skip opening it in the first place. Since it is confusing to have a blank page that is not in use (<a href="https://github.com/qawolf/qawolf/issues/395">https://github.com/qawolf/qawolf/issues/395</a>).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1136652/74447218-06af0780-4e47-11ea-91d2-2523c29c52e5.gif"><img src="https://user-images.githubusercontent.com/1136652/74447218-06af0780-4e47-11ea-91d2-2523c29c52e5.gif" alt="example-small" data-animated-image="" style="max-width: 100%;"></a></p>