Add missing check_vanished in remove_blank_target

This commit is contained in:
Florian Bruhin 2016-07-28 13:13:21 +02:00
parent c674bda43c
commit b0a0984fe7

View File

@ -325,6 +325,7 @@ class WebElementWrapper(collections.abc.MutableMapping):
def remove_blank_target(self):
"""Remove target from link."""
self._check_vanished()
elem = self._elem
for _ in range(5):
if elem is None: