1

enter image description here

Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.

1
  • 3
    Have you talk to the developers to create a build that doesn't have ads? It usually is the case of a feature flag to be on or off. Commented Aug 6, 2020 at 7:18

1 Answer 1

1

You can use the Appium Inspector to find the 'Close' button. This should give you an XPATH to work with. If it says 'Element Not Interact-able' in the properties pane then the trick I use is to get the Size and Location of the element to find the center and then webDriver.Tap(x,y)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.