@y.c
Instead of trying to click through the settings to access the Print dialog, you can use the “Send Hotkey” activity to send the keyboard shortcut for printing in Chrome (e.g., Ctrl+P for Windows or Cmd+P for Mac). This will open the Print dialog.
Use the “Open Browser” activity to open the web page in Chrome.
Use the “Send Hotkey” activity to simulate pressing the keyboard shortcut to bring up the Print dialog. For example, the keyboard shortcut for Print is usually Ctrl + P.
After sending the hotkey, you may need to wait for a short period to allow the Print dialog to appear. You can use the “Delay” or “Element Exists” activity to wait until the Print dialog is visible.
Once the Print dialog is visible, use the “Click” activity to click on the “Print” button within the dialog to save the page as a PDF.
You may need to specify the file path and name where the PDF should be saved. You can use the “Type Into” activity to enter the file path into the appropriate field in the Print dialog.
After clicking “Print,” the PDF should be generated and saved at the specified location.