I'm trying to work with a Print Dialog box in google chrome version 75.0.3770.80. I am clicking on cancel button on print dialog using Selenium to close it.
The cancel button can be inspected and its selectors are visible on the UI but when I am trying to click on those selectors using selenium it is given No such element exception.
Also, when I am using getSource() for that page button selectors are not present in the source code but are visible on UI
So, how can we click on cancel button is there any way to do this?.