fix function: get_cookie_data (macos M-chip version)
This commit is contained in:
@@ -164,7 +164,7 @@ def get_cookie_data(env, config: Dict[str, str]):
|
|||||||
elif os_type == 'Linux':
|
elif os_type == 'Linux':
|
||||||
if "arm" in platform.machine():
|
if "arm" in platform.machine():
|
||||||
chrome_cookie_file_path = env.controller.execute_python_command(
|
chrome_cookie_file_path = env.controller.execute_python_command(
|
||||||
"import os; print(os.path.join(os.getenv('HOME'), 'snap/chromium/common/chromium/Default/Preferences'))")[
|
"import os; print(os.path.join(os.getenv('HOME'), 'snap/chromium/common/chromium/Default/Cookies'))")[
|
||||||
'output'].strip()
|
'output'].strip()
|
||||||
else:
|
else:
|
||||||
chrome_cookie_file_path = env.controller.execute_python_command(
|
chrome_cookie_file_path = env.controller.execute_python_command(
|
||||||
|
|||||||
Reference in New Issue
Block a user