We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc8521 commit b3ea6beCopy full SHA for b3ea6be
examples/cdp_mode/raw_indeed_login.py
@@ -2,18 +2,16 @@
2
from seleniumbase import SB
3
4
with SB(uc=True, test=True, locale="en") as sb:
5
- url = "https://www.indeed.com/"
+ url = "https://secure.indeed.com/auth"
6
sb.activate_cdp_mode(url)
7
sb.sleep(1)
8
- sb.click('[data-gnav-element-name="SignIn"] a')
9
- sb.uc_gui_click_captcha()
10
sb.type('input[type="email"]', "test@test.com")
11
12
sb.click('button[type="submit"]')
13
sb.sleep(3.5)
14
selector = 'div[class*="pass-Captcha"]'
15
element_rect = sb.cdp.get_gui_element_rect(selector, timeout=1)
16
x = element_rect["x"] + 32
17
- y = element_rect["y"] + 44
+ y = element_rect["y"] + 42
18
sb.cdp.gui_click_x_y(x, y)
19
sb.sleep(4.5)
0 commit comments