I am using ReportViewer Control in our MVC application.
The issue is when I click on ‘View Report’ button, the report gets shrink every time i click on button.
I am trying to get id of the View Report button which is present on report viewer.
I have tried multiple ways to get id of View Report button Here are my few attempts
const submitButton = document.querySelector("button[type='submit'][value='View Report']");
Please let me know how can we access the id of ‘View Report’