Created
March 29, 2017 09:52
-
-
Save vik-y/ad66ab28451ea215f4ee86d2e309d85d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import time, re | |
browser = webdriver.Firefox() | |
def getUsers(): | |
h = browser.find_element_by_id('#someuserlist') | |
users = h.get_attribute('innerHTML') # WIll return the html of users. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment