title: I have written a Python progam, but it doesn't do anything when executed
body: <p>When I run the below code out of CMD, it doesn't do anything, it doesn't also throw any errors. My other Python programs run fine. Is there anything wrong with the code?</p>
  
  <pre><code>
  from selenium import webdriver
  from time import sleep
  
  class TinderBot():
      def __init__(self):
          self.driver = webdriver.Chrome()
  
      def login(self):
          self.driver.get('https://tinder.com')
          sleep(2)
  
          fb_btn = self.driver.find_element_by_xpath('//*[@id="content"]/div/div[1]/div/div/main/div/div[2]/div[2]/div/div/span/div[2]/button')
          fb_btn.click()
  
          # switch to login popup
          base_window = self.driver.window_handles[0]
          self.driver.switch_to.window(self.driver.window_handles[1])
  
          # vlozit email
          email_in = self.driver.find_element_by_xpath('//*[@id="email"]')
          email_in.send_keys('email')
  
          # vlozit heslo
          password_in = self.driver.find_element_by_xpath('//*[@id="pass"]')
          password_in.send_keys('password')
  
          # submitnout
          prihlasit_se = self.driver.find_element_by_xpath('//*[@id="loginbutton"]')
          prihlasit_se.click()
  </code></pre>