I'm working on writing a test automation script for a android app.
I'm using python to write the code and using Appium server to run these tests and using Appium UI inspector to identify elements.
I'm testing on a action and, after performing this action a specific element will no longer be visible on the screen and that is how i will validate the test if its pass/fail
if the element is not present - pass, if element is displayed - fail
is there a way to actually check if an element is not present without trying to find the element (since the script anyway fails when trying to element which is not present in the screen.