Compare commits

..

1 Commits

Author SHA1 Message Date
1bce8551e7 Added quitting the browser after finish 2022-01-12 06:33:31 +01:00

View File

@ -58,6 +58,14 @@ class NebulaLoader:
)
def load(self) -> List[NebulaVideo]:
videos = []
try:
videos = self._load()
finally:
self.driver.quit()
return videos
def _load(self) -> List[NebulaVideo]:
self.driver.get('https://nebula.app/login')
username_input = '//*[@name="email"]'