I am currently working on Automation project for E-commerce site. In some pages unexpected popup's(ex:ad's) are displaying. Because of that my script was failing by throwing exceptions like
ElementNotFoundException and currently
Element is not Interactable etc.. . Here these ad's are not specific to particular page. It may come at any page.
Please let me know, Is there any way to handle these type of scenario?