<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { firefox, chromium } from &quot;playwright&quot;

async function main() {
  let browser = await firefox.launch({ headless: false })

  let context = await browser.newContext()

  let page = await context.newPage()
  let page1 = await context.newPage()

  await page.goto(&quot;https://microsoft.com&quot;)
  await page1.goto(&quot;https://microsoft.com&quot;)
}

async function main2() {
  let browser = await chromium.launch({ headless: false })

  let context = await browser.newContext()

  let page = await context.newPage()
  let page1 = await context.newPage()

  await page.goto(&quot;https://microsoft.com&quot;)
  await page1.goto(&quot;https://microsoft.com&quot;)
}

main().catch((e) =&gt; {
  console.error(e)
})

main2().catch((e) =&gt; {
  console.error(e)
})
"><pre class="notranslate"><code class="notranslate">import { firefox, chromium } from "playwright"

async function main() {
  let browser = await firefox.launch({ headless: false })

  let context = await browser.newContext()

  let page = await context.newPage()
  let page1 = await context.newPage()

  await page.goto("https://microsoft.com")
  await page1.goto("https://microsoft.com")
}

async function main2() {
  let browser = await chromium.launch({ headless: false })

  let context = await browser.newContext()

  let page = await context.newPage()
  let page1 = await context.newPage()

  await page.goto("https://microsoft.com")
  await page1.goto("https://microsoft.com")
}

main().catch((e) =&gt; {
  console.error(e)
})

main2().catch((e) =&gt; {
  console.error(e)
})

</code></pre></div>
<p dir="auto">Here is screenshot . Clearly code is nearly same with firefox and chromium replaced. But the behavior is weird firefox spawns window which is supposed to be tab. And Chrome behaves properly.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8097377/95857685-faf34800-0d29-11eb-86d8-c920345750b9.png"><img width="1550" alt="image" src="https://user-images.githubusercontent.com/8097377/95857685-faf34800-0d29-11eb-86d8-c920345750b9.png" style="max-width: 100%;"></a></p>
<p dir="auto">Plus this following code shows 2 window now in past it used to show 1 window with 2 tabs.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  let browser = await chromium.launch({ headless: false })
  let page = await context.newPage()
  let page1 = await context.newPage()"><pre class="notranslate"><code class="notranslate">  let browser = await chromium.launch({ headless: false })
  let page = await context.newPage()
  let page1 = await context.newPage()
</code></pre></div>
<p dir="auto">Discovered while upgrading the plugin.</p>
<p dir="auto">Thanks.</p>
<p dir="auto">Was expecting a new tab<br>
I am not sure if I've seen this before when using puppeteer</p>