'Returns a list containing ids of all links found in current page.
If a link has no id, an empty string will be in the list instead.'

@keyword
def get_all_links(self):

    links = []
    elements = self.find_element('tag=a', tag='a', first_only=False, required=False)
    for anchor in elements:
        links.append(anchor.get_attribute('id'))
    return links
