diff --git a/README.md b/README.md index e2e73f236b7..daedabfb491 100755 --- a/README.md +++ b/README.md @@ -85,6 +85,22 @@ with SB(test=True) as sb: -------- +

📗 Here's an example of bypassing bot-detection on a site that uses Cloudflare: SeleniumBase/examples/cdp_mode/raw_gitlab.py

+ +```python +from seleniumbase import SB + +with SB(uc=True, test=True, locale_code="en") as sb: + url = "https://gitlab.com/users/sign_in" + sb.activate_cdp_mode(url) + sb.uc_gui_click_captcha() # PyAutoGUI if needed + sb.save_screenshot_to_logs() +``` + + + +-------- +

📗 Here's test_get_swag.py, which tests a QA shopping site:

```python