(self, url)
| 28 | # return self.browser.new_page() |
| 29 | |
| 30 | async def go_to(self, url): |
| 31 | try: |
| 32 | await self.page.goto(url, timeout=20000) |
| 33 | |
| 34 | except TimeoutError as e: |
| 35 | print(f"TimeoutError: {e} when trying to navigate to {url}") |
| 36 | return False |
| 37 | return True |
| 38 | |
| 39 | async def screenshot(self, project_name): |
| 40 | screenshots_save_path = Config().get_screenshots_dir() |