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

Method test_simple_login

examples/test_simple_login.py:6–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class TestSimpleLogin(BaseCase):
6 def test_simple_login(self):
7 self.goto("https://seleniumbase.io/simple/login")
8 self.type("#username", "demo_user")
9 self.type("#password", "secret_pass")
10 self.click('a:contains("Sign in")')
11 self.assert_exact_text("Welcome!", "h1")
12 self.assert_element("img#image1")
13 self.highlight("#image1")
14 self.click_link("Sign out")
15 self.assert_text("signed out", "#top_message")

Callers

nothing calls this directly

Calls 8

gotoMethod · 0.45
typeMethod · 0.45
clickMethod · 0.45
assert_exact_textMethod · 0.45
assert_elementMethod · 0.45
highlightMethod · 0.45
click_linkMethod · 0.45
assert_textMethod · 0.45

Tested by

no test coverage detected