Bring python implementation of web element equality in conformance with
other languages