From 1cfa4577369ae67cfbc39760821a106fa767b249 Mon Sep 17 00:00:00 2001 From: kerry <66009926+gimseonjin@users.noreply.github.com> Date: Tue, 18 Nov 2025 08:57:55 +0900 Subject: [PATCH] [Webeye] Fix JS loader encoding for domUtils.js (#3991) Co-authored-by: Shuchang Zheng --- skyvern/webeye/utils/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)