I am trying to write a test for selenium to progress an order through a site. The site is only compatible with IE and it disables the right mouse button. When I click continue at a certain point, I get a javascript popup window. On this window I need to select yes, but I am unable to view the source to get the ‘id’ of the yes button.
Can anyone help me with how I could identify the ids of the buttons or display the source?
Developer tools are not accessible once this window appears.
If it’s a javascript alert then you need to do something like this:
where driver is the instance of the
WebDriveryou are using.—- EDIT —-