MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / test_multi_threaded

Function test_multi_threaded

examples/presenter/multi_uc.py:9–17  ·  view source on GitHub ↗
(sb)

Source from the content-addressed store, hash-verified

7
8@pytest.mark.parametrize("", [[]] * 3)
9def test_multi_threaded(sb):
10 sb.activate_cdp_mode() # If not UC Mode, then 2nd browser
11 sb.set_window_rect(randint(4, 680), randint(8, 380), 840, 520)
12 sb.goto("https://gitlab.com/users/sign_in")
13 sb.sleep(2)
14 sb.solve_captcha()
15 sb.assert_text("Username", '[for="user_login"]', timeout=3)
16 sb.post_message("SeleniumBase wasn't detected", duration=4)
17 sb._print("\n Success: SeleniumBase wasn't detected! ")

Callers

nothing calls this directly

Calls 8

_printMethod · 0.80
activate_cdp_modeMethod · 0.45
set_window_rectMethod · 0.45
gotoMethod · 0.45
sleepMethod · 0.45
solve_captchaMethod · 0.45
assert_textMethod · 0.45
post_messageMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…