Vinyzu / Botright

Botright, the most advance undetected, fingerprint-changing, captcha-solving, open-source automation framework. Build on Playwright, its as easy to use as it is to extend your code. Solving your Captchas for free with AI.
GNU General Public License v3.0
451 stars 59 forks source link

How to use the --incognito flag with Botright? #82

Closed giauphan closed 6 months ago

giauphan commented 6 months ago

Describe your quesiton I would like to know how to use the --incognito flag with Botright.

Expected behavior I expect to be able to launch a browser instance with the --incognito flag enabled using Botright.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I've tried passing the --incognito flag as an argument when creating a new Browser instance, but it doesn't seem to work. Is there a specific way to enable incognito mode with Botright? Any guidance on this issue would be greatly appreciated. Thank you!

Vinyzu commented 6 months ago

You can append to botrights predefined flags by using botright_client.flags.append("--incognito")

Note: The incognito flag is already used, so this wouldnt have any affect.