selenium login/sign in testing

www‮al.‬utturi.com
selenium login/sign in testing
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.chrome.options import Options

driver = webdriver.Chrome(executable_path='D:\chromedriver.exe',options=chrome_options)

driver.findElement(By.id("password"));
WebElement password=driver.findElement(By.id("password"));
driver.findElement(By.xpath("//button[text()='Sign in']"));
WebElement login= driver.findElement(By.xpath("//button[text()='Sign in']"));
..
Created Time:2017-10-08 20:34:50  Author:lautturi