diff --git a/automon/integrations/seleniumWrapper/browser.py b/automon/integrations/seleniumWrapper/browser.py index 27ff1267..08147e7b 100644 --- a/automon/integrations/seleniumWrapper/browser.py +++ b/automon/integrations/seleniumWrapper/browser.py @@ -58,7 +58,7 @@ def by(self) -> By: def config(self): return self._config - async def cookie_file_to_dict(self, file: str = 'cookies.txt') -> list: + async def cookie_file_to_dict(self, file: str = 'cookies.json') -> list: logger.debug(dict( cookie_file_to_dict=file )) @@ -290,7 +290,7 @@ async def delete_all_cookies(self) -> None: async def _url_filename(self, url: str): parsed = await self.urlparse(url) hostname = parsed.hostname - cookie_file = f'cookies-{hostname}.txt' + cookie_file = f'cookies-{hostname}.json' logger.debug(dict( _url_filename=cookie_file ))