Skip to content

Commit 7695bcb

Browse files
committed
Add a pure CDP Mode example
1 parent e5dd587 commit 7695bcb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from seleniumbase import sb_cdp
2+
3+
url = "https://gitlab.com/users/sign_in"
4+
sb = sb_cdp.Chrome(url)
5+
sb.sleep(2.5)
6+
sb.gui_click_captcha()
7+
sb.highlight('h1:contains("GitLab.com")')
8+
sb.highlight('button:contains("Sign in")')
9+
sb.driver.stop()

0 commit comments

Comments
 (0)