title: missing 1 required posional argument
body: <p>I am new to python, selenium. I got following error during execution. I've used Python 3.5.0 </p>
  
  <p>How can i use argument in this problem?
  Is there any alternative method?</p>
  
  <p>Error:</p>
  
  <pre><code>C:\&gt;python test.py
  Enter your username: dg
  Enter your password: bn
  Address: rty
  Traceback (most recent call last):
  File "test.py", line 5, in &lt;module&gt;
  class TryTestCase(unittest.TestCase):
  File "test.py", line 24, in TryTestCase
  test_something(username, password, target)
  TypeError: test_something() missing 1 required positional argument: 'target'
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>import unittest
  from selenium import webdriver
  
  
  class TryTestCase(unittest.TestCase):
      username = input('Enter your username: ')
      password = input('Enter your password: ')
      target = input('Address: ')
  
      def setUpClass(self):
          self.driver = webdriver.Firefox()
          self.driver.get('https://abcd.com/')
          self.driver.implicitly_wait(5)
  
      def test_something(self, username, password, target):
          self.driver.find_element_by_xpath("xyz").send_keys(username)
          self.driver.find_element_by_xpath("xyz").send_keys(password)
          self.driver.find_element_by_xpath("xyz").send_keys(target)
          self.driver.implicitly_wait(1)
  
      def tearDownClass(self):
          self.driver.close()
  
      test_something(username, password, target) 
  
  
  if __name__ == '__main__':
      unittest.main()
  </code></pre>