Skip to content

Commit b1e31a2

Browse files
committed
Update the docs
1 parent 87478fc commit b1e31a2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/my_first_test.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_basic(self):
6060
# Or:
6161
# [
6262
# text = self.find_element("h3").text
63-
# assert("xkcd: volume 0" in text)
63+
# self.assert_true("xkcd: volume 0" in text)
6464
# ]
6565
#
6666
# And the following line:
@@ -77,11 +77,13 @@ def test_basic(self):
7777
# whitespace in the TEXT assertion.
7878
# So, self.assert_exact_text("Some Text") will find [" Some Text "].
7979
#
80-
# For backwards-compatibilty, some SeleniumBase methods that do the
80+
# 5. For backwards-compatibilty, some SeleniumBase methods that do the
8181
# same thing have multiple names, kept on from previous versions.
8282
# Ex: wait_for_element_visible() is the same as find_element().
8383
# Both search for and return the element, and raise an exception if
8484
# the element does not appear on the page within the timeout limit.
8585
# And assert_element() also does this (minus returning the element).
8686
#
87-
# (See seleniumbase/fixtures/base_case.py for the full method list.)
87+
# 6. For the full method list, see one of the following:
88+
# * SeleniumBase/seleniumbase/fixtures/base_case.py
89+
# * SeleniumBase/help_docs/method_summary.md

help_docs/method_summary.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,4 @@ self.process_delayed_asserts()
355355

356356
---
357357

358-
Example Test: (<i>From [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)</i>)
359-
360-
![](https://cdn2.hubspot.net/hubfs/100006/images/SampleCode2.png "SeleniumBase Python Code")
358+
Example Test: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)

0 commit comments

Comments
 (0)