def __init__()

in foxpuppet/region.py [0:0]


    def __init__(self, window: BaseWindow, root: WebElement):
        """Create a Region object.

        Args:
            window (:py:class:`BaseWindow`): Window object this region appears
                in.
            root
                (:py:class:`~selenium.webdriver.remote.webelement.WebElement`):
                WebDriver element object that serves as the root for the
                region.

        """
        self.root: WebElement = root
        self.selenium: WebDriver = window.selenium
        self.wait: WebDriverWait = window.wait
        self.window: BaseWindow = window
        self.actions: ActionChains = ActionChains(self.selenium)