Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from selenium import webdriver
- from selenium.webdriver.common.keys import Keys
- from selenium.webdriver.common.action_chains import ActionChains
- driver = webdriver.Firefox()
- driver.get("http://explorer.natureserve.org/servlet/NatureServe?init=Ecol")
- assert "NatureServe" in driver.title
- #elem = driver.find_element_by_name("")
- SciName = driver.find_element_by_name('nameSpec')
- SciName.send_keys(names)
- mouse = webdriver.ActionChains(driver)
- element = driver.find_element_by_name('nameCriteriaForm')
- mouse.move_to_element(span_element).click().perform()
- <a href="javascript:save_information('review.wmt')"><img src=" http://explorer.natureserve.org/images/search_now.gif" width="77" height="17" border="0" align="absmiddle"></a>
- from selenium import webdriver
- from selenium.webdriver.common.keys import Keys
- from selenium.webdriver.common.action_chains import ActionChains
- driver = webdriver.Firefox()
- driver.get("http://explorer.natureserve.org/servlet/NatureServe?init=Ecol")
- SciName = driver.find_element_by_name('nameSpec')
- SciName.send_keys(names)
- SciName.submit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement