Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebElement __eq__ compares against more types
Prior to the definition of __ne__, many users were using != with items without 'id' attr. These users are broken by the new definition of __ne__ as __eq__ raises an AttributeError. Ensure __eq__ returns false when no 'id' attr is defined. Signed-off-by: Luke Inman-Semerau <[email protected]>
- Loading branch information