def __init__(self, selenium):
        """Create FoxPuppet object.

        Args:
            selenium:
                (:py:class:`~selenium.webdriver.remote.webdriver.WebDriver`):
                Firefox WebDriver object.
        """
        self.selenium = selenium
        self.window_manager = WindowManager(selenium)
        # Need to ensure the first window is a browser window
        self.browser = self.window_manager.windows[0]
def __init__ ( self , selenium ) : self . selenium = selenium self . window_manager = WindowManager ( selenium ) self . browser = self . window_manager . windows [ 0 ]
Create FoxPuppet object.

        Args:
            selenium:
                (:py:class:`~selenium.webdriver.remote.webdriver.WebDriver`):
                Firefox WebDriver object.