Skip to content

Instantly share code, notes, and snippets.

@easonhan007
easonhan007 / expected_conditions_example.py
Last active Dec 12, 2019
python selenium expected_conditions examples
View expected_conditions_example.py
#encoding:utf-8
# example of how to use https://github.com/SeleniumHQ/selenium/blob/master/py/selenium/webdriver/support/expected_conditions.py
from selenium import webdriver
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.by import By
import unittest