Dealing with elements behind pop-up windows
I am running across this issue throughout our application where confirmation windows will appear during each step of a transaction and elements are still visible in the background.
The problem is the script will click on the elements in the background before the confirmation has a chance to close (there seems to be a delay to close the confirmation window). What is the best way to handle this?
Note: I don’t see any attributes on the element in the background to indicate if its Enabled or Disabled.