I am trying to access the print button in the print dialogue window (the window that comes up when you press Ctrl
+ P
):
I tried document.getElementsByClassName('action-button')
but it didn't work.
What am I doing wrong?
I am trying to access the print button in the print dialogue window (the window that comes up when you press Ctrl
+ P
):
I tried document.getElementsByClassName('action-button')
but it didn't work.
What am I doing wrong?