環境
MacOS ver 12.4
python 3.10.3
playwright 1.23.0
実現したいこと
pythonのplaywrightでGoogleにログインしたい
試したこと(該当のソースコード)
シークレットモードでない起動も試してみましたがシークレットモードと結果は変わりませんでした・・・
python
1user_data_dir = "/Users/xxxxx/Library/Application Support/Google/Chrome/Profile 11" 2context = playwright.chromium.launch_persistent_context( 3 user_data_dir=user_data_dir, 4 channel="chromium", headless=False 5) 6browser = playwright.chromium.launch(channel="chromium",headless=False) 7context = browser.new_context() 8page = context.new_page()
エラー内容
firefoxでは問題なくログイン出来るようなのですが、chromeだと下記のようにログインしようとすると
添付のエラーが表示されます。
どのように解決しましたか?
回答1件
あなたの回答
tips
プレビュー