title: Custom keyword robot framework selenium webdriver python "object has no attribute 'get_attribute' "
body: <p>I am trying to write custom function using  robot framework existing Seleniumlibrary  in python to get link from element. But I am keep getting an issue in get_attribute.</p>
  
  <blockquote>
    <p>Error : 'list' object has no attribute 'get_attribute'</p>
  </blockquote>
  
  <p>Library imported</p>
  
  <pre><code>from selenium import webdriver
  from robot.libraries.BuiltIn import BuiltIn
  
  def get_one_links(locator,attribute):
      lib = BuiltIn().get_library_instance('SeleniumLibrary')
      links = lib.find_elements(locator).get_attribute(attribute)
      return links
  </code></pre>