Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b3ea6be

Browse files
committed
Update an example
1 parent bdc8521 commit b3ea6be

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎examples/cdp_mode/raw_indeed_login.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
from seleniumbase import SB
33

44
with SB(uc=True, test=True, locale="en") as sb:
5-
url = "https://www.indeed.com/"
5+
url = "https://secure.indeed.com/auth"
66
sb.activate_cdp_mode(url)
77
sb.sleep(1)
8-
sb.click('[data-gnav-element-name="SignIn"] a')
9-
sb.uc_gui_click_captcha()
108
sb.type('input[type="email"]', "test@test.com")
119
sb.sleep(1)
1210
sb.click('button[type="submit"]')
1311
sb.sleep(3.5)
1412
selector = 'div[class*="pass-Captcha"]'
1513
element_rect = sb.cdp.get_gui_element_rect(selector, timeout=1)
1614
x = element_rect["x"] + 32
17-
y = element_rect["y"] + 44
15+
y = element_rect["y"] + 42
1816
sb.cdp.gui_click_x_y(x, y)
1917
sb.sleep(4.5)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /