Same as wait_for_element_present() - returns the element. The element does not need be visible (it may be hidden).
(self, selector, by="css selector", timeout=None)
| 10420 | return self.wait_for_element_present(selector, by=by, timeout=timeout) |
| 10421 | |
| 10422 | def locator(self, selector, by="css selector", timeout=None): |
| 10423 | """Same as wait_for_element_present() - returns the element. |
| 10424 | The element does not need be visible (it may be hidden).""" |
| 10425 | return self.wait_for_element_present(selector, by=by, timeout=timeout) |
| 10426 | |
| 10427 | def wait_for_selector(self, selector, by="css selector", timeout=None): |
| 10428 | """Same as wait_for_element_present() - returns the element. |