Skip to content

Commit a55cf53

Browse files
committed
Update the Method Summary / API Summary
1 parent 07c31c7 commit a55cf53

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

help_docs/method_summary.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ self.switch_to_window(window, timeout=None)
179179

180180
self.switch_to_default_window()
181181

182+
self.switch_to_newest_window()
183+
182184
self.get_new_driver(browser=None, headless=None, locale_code=None,
183185
servername=None, port=None, proxy=None, agent=None,
184186
switch_to=True, cap_file=None, cap_string=None,
@@ -485,15 +487,22 @@ self.generate_traffic_chain(pages, loops=1)
485487
self.get_element(selector, by=By.CSS_SELECTOR, timeout=None)
486488
# Duplicates: self.wait_for_element_present(selector, by=By.CSS_SELECTOR, timeout=None)
487489

490+
self.assert_element_present(selector, by=By.CSS_SELECTOR, timeout=None)
491+
492+
self.assert_elements_present(*args, **kwargs)
493+
494+
############
495+
488496
self.find_element(selector, by=By.CSS_SELECTOR, timeout=None)
489497
# Duplicates: self.wait_for_element(selector, by=By.CSS_SELECTOR, timeout=None)
490498
# self.wait_for_element_visible(selector, by=By.CSS_SELECTOR, timeout=None)
491499

492-
self.assert_element_present(selector, by=By.CSS_SELECTOR, timeout=None)
493-
494500
self.assert_element(selector, by=By.CSS_SELECTOR, timeout=None)
495501
# Duplicates: self.assert_element_visible(selector, by=By.CSS_SELECTOR, timeout=None)
496502

503+
self.assert_elements(*args, **kwargs)
504+
# Duplicates: self.assert_elements_visible(*args, **kwargs)
505+
497506
############
498507

499508
self.find_text(text, selector="html", by=By.CSS_SELECTOR, timeout=None)
@@ -579,6 +588,20 @@ self.fail(msg=None) # Inherited from "unittest"
579588
self._print(TEXT) # Calls Python's print() / Allows for translations
580589
```
581590

582-
---
591+
--------
592+
593+
<h2>🔵 Examples</h2>
594+
595+
✅ Test Folder: [SeleniumBase/examples](https://github.com/seleniumbase/SeleniumBase/tree/master/examples)
583596

584-
Example Test: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)
597+
* [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)
598+
* [parameterized_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/parameterized_test.py)
599+
* [test_deferred_asserts.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_deferred_asserts.py)
600+
* [test_demo_site.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py)
601+
* [test_error_page.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_error_page.py)
602+
* [test_login.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_login.py)
603+
* [test_markers.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_markers.py)
604+
* [test_swag_labs.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py)
605+
* [test_suite.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_suite.py)
606+
* [test_tinymce.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_tinymce.py)
607+
* And many more...

0 commit comments

Comments
 (0)