diff --git a/skyvern/webeye/utils/page.py b/skyvern/webeye/utils/page.py index f14361e8..cb9e23b7 100644 --- a/skyvern/webeye/utils/page.py +++ b/skyvern/webeye/utils/page.py @@ -25,7 +25,7 @@ def load_js_script() -> str: try: # TODO: Implement TS of domUtils.js and use the complied JS file instead of the raw JS file. # This will allow our code to be type safe. - with open(path) as f: + with open(path, encoding="utf-8") as f: return f.read() except FileNotFoundError as e: LOG.exception("Failed to load the JS script", path=path)