Add missing check_vanished in remove_blank_target
This commit is contained in:
parent
c674bda43c
commit
b0a0984fe7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user