def get_visible_elements(self, locator, params=None, timeout=None):
        """
        Get elements both present AND visible in the DOM.

        If timeout is 0 (zero) return WebElement instance or None, else we wait and retry for timeout and raise
        TimeoutException should the element not be found.

        :param locator: locator tuple
        :param params: (optional) locator params
        :param timeout: (optional) time to wait for element (default: self._explicit_wait)
        :return: WebElement instance
        """
        return self.get_present_elements(locator, params, timeout, True)
def get_visible_elements ( self , locator , params = None , timeout = None ) : return self . get_present_elements ( locator , params , timeout , True )
Get elements both present AND visible in the DOM.

        If timeout is 0 (zero) return WebElement instance or None, else we wait and retry for timeout and raise
        TimeoutException should the element not be found.

        :param locator: locator tuple
        :param params: (optional) locator params
        :param timeout: (optional) time to wait for element (default: self._explicit_wait)
        :return: WebElement instance