@property
    def next(self):
        """ Return the next window """
        next_index = len(self._browser.driver.window_handles) % (self.index + 1)
        next_handle = self._browser.driver.window_handles[next_index]
        return Window(self._browser, next_handle)
dataset/ETHPy150Open cobrateam/splinter/splinter/driver/webdriver/__init__.py/Window.next/swapped operands of `%`