I am using Python for Selenium RC and I am using the following selenium command:
self.se.get_attribute("CSS")
This command asserts when the respective CSS mentioned is not found on the webpage.
Is it possible for me to avoid the assert from happening and instead of the assert, another command is executed (On the condition that the assert has taken place)
self.se.get_text("another CSS")
Is there a way in python to capture the assert and just store its value and continue forward without terminating the program? Could someone please help me with this? Thanks