from selenium import webdriver
from selenium.webdriver.support.ui import Select #DOM Select
import time
browser = webdriver.Firefox()
browser.get('https://vk.com/')
textarea = browser.find_element_by_css_selector('#index_email')
textarea.send_keys('')
textarea = browser.find_element_by_css_selector('#index_pass')
textarea.send_keys('')
submit = browser.find_element_by_css_selector('#index_login_button')
submit.click()
#user_name = browser.find_element_by_css_selector('#l_pr')
user_name = browser.find_element_by_xpath('//a[@class='left_row']')
user_name.click()