Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit d449ffb

Browse files
committed
Make close_async call standard close with EyesSelenium
1 parent 50fb43c commit d449ffb

File tree

1 file changed

+3
-1
lines changed
  • eyes_selenium/applitools/selenium

1 file changed

+3
-1
lines changed

eyes_selenium/applitools/selenium/eyes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ def close(self, raise_ex=True):
229229

230230
def close_async(self):
231231
if self._is_visual_grid_eyes:
232-
self._current_eyes.close_async()
232+
self._visual_grid_eyes.close_async()
233+
else:
234+
self._selenium_eyes.close(False)
233235

234236
def _init_driver(self, driver):
235237
# type: (AnyWebDriver) -> None

0 commit comments

Comments
 (0)