Closed LawyZheng closed 1 month ago
Added support for handling PDF printing by modifying click action handler and injecting a script to disable the default print dialog.
Key points:
get_download_dir
skyvern/webeye/browser_factory.py
handle_click_to_download_file_action
skyvern/webeye/actions/handler.py
DISABLE_PRINTER_WITH_FLAG
skyvern/webeye/utils/page.py
create_browser_context
Generated with :heart: by ellipsis.dev
Summary:
Added support for handling PDF printing by modifying click action handler and injecting a script to disable the default print dialog.
Key points:
get_download_dir
function inskyvern/webeye/browser_factory.py
to initialize download directory.handle_click_to_download_file_action
inskyvern/webeye/actions/handler.py
to handle PDF printing.DISABLE_PRINTER_WITH_FLAG
script inskyvern/webeye/utils/page.py
to disable default print dialog.create_browser_context
inskyvern/webeye/browser_factory.py
to inject the print disabling script.Generated with :heart: by ellipsis.dev