old_contents: from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from time import sleep
  from selenium.common.exceptions import TimeoutException
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support.ui import Select
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions
  from selenium.common.exceptions import NoSuchElementException
  
  usr=input('Enter Email Id:') 
  pwd=input('Enter Password:') 
  
  driver = webdriver.Chrome()
  
  driver.get('https://www.facebook.com/')
  
  print ("Opened facebook...")
  sleep(1)
  
  a = driver.find_element_by_id('email')
  a.send_keys(usr)
  print ("Email Id entered...")
  sleep(1)
  
  b = driver.find_element_by_id('pass')
  b.send_keys(pwd)
  print ("Password entered...")
  
  c = driver.find_element_by_id('loginbutton')
  c.click()
  
  print ("Done...")
  sleep(10)
  driver.quit()
  
  print("Game Over...")
  
new_contents: '''
  This script is created to perform facebook login from terminal
  '''
  
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from time import sleep
  from selenium.common.exceptions import TimeoutException
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support.ui import Select
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions
  from selenium.common.exceptions import NoSuchElementException
  
  usr=input('Enter Email Id:') 
  pwd=input('Enter Password:') 
  
  driver = webdriver.Chrome()
  
  driver.get('https://www.facebook.com/')
  
  print ("Opened facebook...")
  sleep(1)
  
  a = driver.find_element_by_id('email')
  a.send_keys(usr)
  print ("Email Id entered...")
  sleep(1)
  
  b = driver.find_element_by_id('pass')
  b.send_keys(pwd)
  print ("Password entered...")
  
  c = driver.find_element_by_id('loginbutton')
  c.click()
  
  print ("Done...")
  sleep(10)
  driver.quit()
  
  print("Game Over...")
  
subject: Update fb_login.py