Skip to content

Commit 7f2975d

Browse files
committed
#124 , remove old headless
1 parent d4601f2 commit 7f2975d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dataframe_image/_browser_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_launch_args():
8989
# temp_dir = TemporaryDirectory()
9090
temp_dir_name = os.path.abspath(".")
9191
args = [
92-
"--headless=old",
92+
"--headless",
9393
"--enable-logging",
9494
"--disable-gpu",
9595
"--run-all-compositor-stages-before-draw",

dataframe_image/converter/browser/chrome_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def screenshot(self, html, ss_width=1400, ss_height=900) -> Image:
118118
args = [
119119
"--enable-logging",
120120
"--disable-gpu",
121-
"--headless=old",
121+
"--headless",
122122
# "--no-sandbox",
123123
f"--crash-dumps-dir={temp_dir}",
124124
f"--force-device-scale-factor={self.device_scale_factor}",

0 commit comments

Comments
 (0)