Update the docs
This commit is contained in:
parent
87478fc090
commit
b1e31a21df
|
@ -60,7 +60,7 @@ class MyTestClass(BaseCase):
|
|||
# Or:
|
||||
# [
|
||||
# text = self.find_element("h3").text
|
||||
# assert("xkcd: volume 0" in text)
|
||||
# self.assert_true("xkcd: volume 0" in text)
|
||||
# ]
|
||||
#
|
||||
# And the following line:
|
||||
|
@ -77,11 +77,13 @@ class MyTestClass(BaseCase):
|
|||
# whitespace in the TEXT assertion.
|
||||
# So, self.assert_exact_text("Some Text") will find [" Some Text "].
|
||||
#
|
||||
# For backwards-compatibilty, some SeleniumBase methods that do the
|
||||
# 5. For backwards-compatibilty, some SeleniumBase methods that do the
|
||||
# same thing have multiple names, kept on from previous versions.
|
||||
# Ex: wait_for_element_visible() is the same as find_element().
|
||||
# Both search for and return the element, and raise an exception if
|
||||
# the element does not appear on the page within the timeout limit.
|
||||
# And assert_element() also does this (minus returning the element).
|
||||
#
|
||||
# (See seleniumbase/fixtures/base_case.py for the full method list.)
|
||||
# 6. For the full method list, see one of the following:
|
||||
# * SeleniumBase/seleniumbase/fixtures/base_case.py
|
||||
# * SeleniumBase/help_docs/method_summary.md
|
||||
|
|
|
@ -355,6 +355,4 @@ self.process_delayed_asserts()
|
|||
|
||||
---
|
||||
|
||||
Example Test: (<i>From [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)</i>)
|
||||
|
||||
![](https://cdn2.hubspot.net/hubfs/100006/images/SampleCode2.png "SeleniumBase Python Code")
|
||||
Example Test: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)
|
||||
|
|
Loading…
Reference in New Issue