(self)
| 772 | assert len(select.options) == 2 |
| 773 | |
| 774 | def test_select_options_clear(self): |
| 775 | select = web.page.find("#test_select_element_to_clear")[0] |
| 776 | assert len(select.options) == 3 |
| 777 | |
| 778 | select.options.clear() |
| 779 | |
| 780 | assert len(select.options) == 0 |
| 781 | |
| 782 | def test_select_element_add(self): |
| 783 | # GIVEN the existing select element with no options |