(self)
| 8923 | return page_utils.is_valid_url(url) |
| 8924 | |
| 8925 | def is_alert_present(self): |
| 8926 | try: |
| 8927 | self.driver.switch_to.alert |
| 8928 | return True |
| 8929 | except Exception: |
| 8930 | return False |
| 8931 | |
| 8932 | def is_online(self): |
| 8933 | """Return True if connected to the Internet.""" |