Created
September 13, 2012 19:09
-
-
Save valyukov/3716833 to your computer and use it in GitHub Desktop.
Selenium AUI in action
This file contains 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
# coding=utf-8 | |
from selenium import webdriver | |
from selenium.webdriver import ActionChains | |
driver = webdriver.Firefox() | |
driver.get('http://go.mail.ru/') | |
source = driver.find_element_by_id("source") | |
target = driver.find_element_by_id("target") | |
action_chains = ActionChains(driver) | |
action_chains.drag_and_drop(source, target); | |
driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment