diff --git a/dataframe_image/converter/browser/selenium_converter.py b/dataframe_image/converter/browser/selenium_converter.py index 413c23b..d691128 100644 --- a/dataframe_image/converter/browser/selenium_converter.py +++ b/dataframe_image/converter/browser/selenium_converter.py @@ -20,7 +20,7 @@ def screenshot(self, html: str) -> Image: from selenium.webdriver.firefox.service import Service options = selenium.webdriver.FirefoxOptions() - options.add_argument("--headless=old") + options.add_argument("--headless") profile = selenium.webdriver.FirefoxProfile(temp_dir) profile.set_preference(