Open zibdie opened 1 year ago
it work using launch_persistent_context with arg "--tor"
`from playwright.sync_api import sync_playwright import os
user_dir = 'tmp/playwright' user_dir = os.path.join(os.getcwd(), user_dir)
with sync_playwright() as p: browser = p.chromium.launch_persistent_context(user_dir, headless=False) page = browser.new_page() page.goto('https://playwright.dev/python', wait_until='domcontentloaded')`
Description
I am trying to combine Microsoft Playwright with Brave for testing but unable to launch Brave using Tor. I can launch it normally but cannot with Tor when passing the arguments. Using a Mac
Steps to Reproduce
Actual result:
Not using Tor
Expected result:
Should be using Tor
Reproduces how often:
Every time
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information: