capybara/driver/base.py
def frame_title(self):
        """ str: The title for the current frame. """
        elements = self._find_xpath("/html/head/title")
        titles = [element.all_text for element in elements]
        return titles[0] if len(titles) else ""
def frame_title(self):
        """ str: The title for the current frame. """
        elements = self._find_xpath("/html/head/title")
        titles = [element.all_text for element in elements]
        return titles[0] if len(titles) else ""
def frame_title ( self ) : elements = self . _find_xpath ( "/html/head/title" ) titles = [ element . all_text for element in elements ] return titles [ 0 ] if len ( titles ) else ""
str: The title for the current frame.
str : The title for the current frame .