diff --git a/splinter/driver/webdriver/__init__.py b/splinter/driver/webdriver/__init__.py index 2cce6ed3d..a957aabb8 100644 --- a/splinter/driver/webdriver/__init__.py +++ b/splinter/driver/webdriver/__init__.py @@ -199,11 +199,6 @@ def __repr__(self): [Window(self._browser, handle) for handle in self._browser.driver.window_handles], ) - def __repr__(self): - return str( - [Window(self._browser, handle) for handle in self._browser.driver.window_handles], - ) - def _find(self, finder, finder_kwargs=None): """Search for elements. Returns a list of results.