> otherwise. Given this, I'm just trying to write a method > are_elements_present(aList) whose job is to return True if and only if > all elements in aList are present in page's HTML. So here is how >
missingItems = [str(ele) for ele in eleLocators if not selenium.is_element_present(ele)] if len(missingItems) > 0: print "missing items: %s" % (missingItems) -- http://mail.python.org/mailman/listinfo/python-list