You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from playwright.sync_api import sync_playwright
from capsolver_extension_python import Capsolver
import random
def generate_random_profile():
return str(random.randint(1, 1000))
with sync_playwright() as p:
extension_path = Capsolver(api_key="CAP-test1234-test5678").load(with_command_line_option=False) # TODO: Replace with your own CapSolver Key
browser = p.chromium.launch_persistent_context(
user_data_dir=generate_random_profile(),
headless=False,
args=[
'--disable-extensions-except='+ extension_path,
'--load-extension=' + extension_path,
],
)
page = browser.new_page()
page.goto("https://recaptcha-demo.appspot.com/recaptcha-v2-checkbox.php")
input("Press Enter to exit...")
browser.close()
but when i run it, playwright browser has capsolver extension but the extension UI's api key section is empty, even though i passed the api key in the script.
Activity
WhZzi commentedon Dec 1, 2025
Meet same situation too,
I am running capsolver extension with botasaurus but apikey empty even I give that.