728x90
```python
from selenium.webdriver.common.action_chains import ActionChains
canvas = driver.find_element_by_id("geoGraph")
action = ActionChains(driver)
action.send_keys("c").perform()
action.move_to_element(canvas).click().move_by_offset(100, 0).click().release().perform()
action.move_to_element(canvas).click().move_by_offset(100, 100).click().release().perform()
action.move_to_element(canvas).double_click().perform()
```
'PYTHON > 자동화' 카테고리의 다른 글
opencv 템플릿 이미지비교 (0) | 2019.12.19 |
---|---|
순차적 thread (0) | 2019.12.19 |
selenium 속도향상 옵션추가 (0) | 2019.12.19 |
회사컴도 과부하 걸리는.. (0) | 2019.11.22 |
Implicit Waits vs explicitly wait (Expected Conditions) (0) | 2019.11.22 |