Possible to do it with chromedriver?

Created by akaBot Support, Modified on Wed, 24 Jul, 2024 at 9:53 AM by akaBot Support

We could handle Print window by code Javascript using activity InjectJavascript, not using existen activity Click,.... (besides we need to put activity SwitchTo - Window before activity InjectJavascript)


Example: code js to click on "Print" buton: "document.getElementsByTagName('print-preview-app')[0].root.querySelector('#sidebar').root.querySelector('print-preview-button-strip').root.querySelector('.action-button').click()"

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article