I would like to use a if statement to ensure that an element is not present without rising a
So for example:
if(driver.find_element_by_xpath("xpath")): print " This element shouldn't be there." else: print "It's all good, no element there."
How can I set my If statement to perform what I'm looking for? Is there any Selenium command for that?