title: Pass existing Webdriver object to custom Python library for Robot Framework
body: <p>I am trying to create a custom Python library for Robot Framework, but I'm new to Python and Robot and I'm not sure how to accomplish what I'm trying to do.  I want to pass the Webdriver object that Robot creates using Selenium2Library to my custom Python library so that I could use the Webdriver's methods, such as <code>find_element_by_id</code>.  I've seen some suggestions about how to do it <a href="https://stackoverflow.com/questions/18220386/robotframework-selenium2library-and-external-libraries-pass-webdriver">here</a> and <a href="https://groups.google.com/forum/#!topic/robotframework-users/rayouGl1YC8" rel="noreferrer">here</a>, but they're for Java libraries - I can't find any Python instructions.</p>
  
  <p>How would I go about doing this in Python?  Or would I want to do this differently, without passing the Webdriver object?</p>