듀얼 모니터를 사용할 때 한 화면을 공유하면서(Ex>프레젠테이션) 두 화면에서 각각 다른 작업을 하고싶을 때가 있거든요.
여러 프로그램들이 있었지만 저는
PluralInput 이라는 프로그램이 가장 좋았습니다.
간단히 링크(https://pluralinput.com/) 들어가서 Download 받고 설치한 후 두 개의 Mouse를 연결하면 각 각 따로 사용할 수 있습니다.
import time | |
from selenium import webdriver | |
import pandas | |
driver = webdriver.Chrome('C:\\Anaconda2\\Lib\\site-packages\\chromedriver\\chromedriver.exe') | |
link_excel = pandas.read_excel('C:\\OJT_Kevin\\170102_automate_css\\links.xlsx') | |
for link in link_excel.ix[:,0]: | |
driver.get(link); | |
button = driver.find_element_by_id('showCorrectBtn') | |
button.click() | |
time.sleep(2) | |
button = driver.find_element_by_id('hideCorrectBtn') | |
button.click() | |
time.sleep(2) |