<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.9.1</li>
<li>Operating System: Mac</li>
<li>Browser: Chrome</li>
</ul>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">I'm currently scraping tiktok using this unofficial tiktok api which uses playwright <a href="https://github.com/davidteather/TikTok-Api">https://github.com/davidteather/TikTok-Api</a>. Today i updated my Mac to  Monterey and the script im running to scrape tiktok stopped working and throws out the error below. I've tried to reinstall all the packages and also reinstall playwright but cant get the script running again.</p>
<p dir="auto">Result</p>
<p dir="auto"><code class="notranslate">Traceback (most recent call last): File "/Users/johndoe/Documents/tiktok/emails.py", line 16, in &lt;module&gt; api = TikTokApi.get_instance(custom_verifyFp=verifyFp, use_test_endpoints=True) File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/TikTokApi/tiktok.py", line 151, in get_instance TikTokApi(**kwargs) File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/TikTokApi/tiktok.py", line 63, in __init__ self.browser = browser(**kwargs) File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/TikTokApi/browser_utilities/browser.py", line 84, in __init__ raise e File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/TikTokApi/browser_utilities/browser.py", line 79, in __init__ self.browser = get_playwright().webkit.launch( File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/playwright/sync_api/_generated.py", line 8915, in launch self._sync( File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/playwright/_impl/_sync_base.py", line 103, in _sync return task.result() File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/playwright/_impl/_browser_type.py", line 74, in launch raise e File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/playwright/_impl/_browser_type.py", line 70, in launch return from_channel(await self._channel.send("launch", params)) File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 36, in send return await self.inner_send(method, params, False) File "/Users/johndoe/Documents/tiktok/.venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 47, in inner_send result = await callback.future playwright._impl._api_types.Error: No executable path is specified. Pass "executablePath" option directly.</code></p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.XX]</li>
<li>Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]</li>
<li>Browser: [All, Chromium, Firefox, WebKit]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>




<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
  projects: [
    {
      name: 'chromium',
      use: { ...devices['Desktop Chrome'], },
    },
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>

<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
  <span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
    <span class="pl-kos">{</span>
      <span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
      <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { test, expect } from '@playwright/test';

test('has title', async ({ page }) =&gt; {
  await page.goto('https://playwright.dev/');

  // Expect a title &quot;to contain&quot; a substring.
  await expect(page).toHaveTitle(/Playwright/);
});

test('get started link', async ({ page }) =&gt; {
  await page.goto('https://playwright.dev/');

  // Click the get started link.
  await page.getByRole('link', { name: 'Get started' }).click();

  // Expects the URL to contain intro.
  await expect(page).toHaveURL(/.*intro/);
});"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s1">expect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>

<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'has title'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
  <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

  <span class="pl-c">// Expect a title "to contain" a substring.</span>
  <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Playwright<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'get started link'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
  <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

  <span class="pl-c">// Click the get started link.</span>
  <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'link'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Get started'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

  <span class="pl-c">// Expects the URL to contain intro.</span>
  <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveURL</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">*</span>intro<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>I have installed Playwright and haven't changed anything, I am just trying to run the sample tests provided by Playwright.</li>
<li>I installed Playwright yesterday , yesterday it was working fine,</li>
<li>Today when I am trying to run the test by using the command " npx playwright test " , I am getting issue for all major browsers.</li>
<li>I am getting error at the below line,<br>
await page.goto('<a href="https://playwright.dev/" rel="nofollow">https://playwright.dev/</a>');</li>
<li>Error: page.goto: net::ERR_NAME_NOT_RESOLVED at <a href="https://playwright.dev/" rel="nofollow">https://playwright.dev/</a></li>
<li>There is an issue with page.goto , I have also tried with other examples. I am getting the same error.</li>
<li>Please help to fix this as soon as possible.</li>
<li>Please let me know if you need more information. Below I have attached a screen shot of the error that I am facing.</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">[It should run the tests successfully. I tried it yesterday and everything was working fine]</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">[Please view below the attached screen-shot for the error]<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/89217750/253188689-e37200c4-c152-49e9-89ff-3fe1d9137675.png"><img width="428" alt="image" src="https://user-images.githubusercontent.com/89217750/253188689-e37200c4-c152-49e9-89ff-3fe1d9137675.png" style="max-width: 100%;"></a></p>