We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 310f8a5 commit 41f245eCopy full SHA for 41f245e
src/SeleniumLibrary/keywords/webdrivertools/webdrivertools.py
@@ -337,6 +337,9 @@ def close(self):
337
if self.current:
338
driver = self.current
339
error = self._quit(driver, None)
340
+ for alias in self._aliases:
341
+ if self._aliases[alias] == self.current_index:
342
+ del self._aliases[alias]
343
self.current = self._no_current
344
self._closed.add(driver)
345
if error:
0 commit comments