Issue 1:
Context:

Playwright Version: 1.9.1

Operating System: Mac

Browser: Chrome

Describe the bug

I'm currently scraping tiktok using this unofficial tiktok api which uses playwright https://github.com/davidteather/TikTok-Api. 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.

Result

Traceback (most recent call last): File "/Users/johndoe/Documents/tiktok/emails.py", line 16, in <module> 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.

Issue 2:
System info

Playwright Version: [v1.XX]

Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]

Browser: [All, Chromium, Firefox, WebKit]

Other info:

Source code

I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro

[https://github.com/your_profile/playwright_issue_title]

or

Config file

// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});

Test file (self-contained)

import { test, expect } from '@playwright/test';

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

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

test('get started link', async ({ page }) => {
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/);
});

Steps

I have installed Playwright and haven't changed anything, I am just trying to run the sample tests provided by Playwright.

I installed Playwright yesterday , yesterday it was working fine,

Today when I am trying to run the test by using the command " npx playwright test " , I am getting issue for all major browsers.

I am getting error at the below line,

await page.goto('https://playwright.dev/');

Error: page.goto: net::ERR_NAME_NOT_RESOLVED at https://playwright.dev/

There is an issue with page.goto , I have also tried with other examples. I am getting the same error.

Please help to fix this as soon as possible.

Please let me know if you need more information. Below I have attached a screen shot of the error that I am facing.

Expected

[It should run the tests successfully. I tried it yesterday and everything was working fine]

Actual

[Please view below the attached screen-shot for the error]