title: Error: Writing tests in Python using selenium
body: <p>I am trying to write a automation test using selenium and python webdriver</p>
  
  <pre><code> class UserAccountsTest(unittest.TestCase):
      def setup(self):
          self.driver=webdriver.Firefox()
  
      def testFirstUser(self):
          driver = self.driver
          driver.implicitly_wait(15)
          driver.get('website.com')
          driver.implicitly_wait(15)
  </code></pre>
  
  <p>My error:
  <strong>object has no attribute 'driver'</strong>
  Im not sure why I can't assign driver to self.driver. Am I passing in self correctly?</p>