* 해당 배너는 쿠팡 파트너스 활동의 일환으로 판매 발생 시 수수료를 제공받습니다. WebDriver1 Selenium point to point link moveToElement는 해당 Element의 top-left를 0,0으로 계산해서 이동시켜준다. Actions operation = new Actions(driver);WebElement vportIn = driver.findElement(By.id("vport-ns-in"));WebElement vportOut = driver.findElement(By.id("vport-ns-out")); int vportInWidth = vportIn.getSize().getWidth();System.out.println("size of port-in : " + vportInWidth);int vportInHeight = (vportIn.getSize().getHeight())/2;System.out.printl.. 2016. 7. 12. 이전 1 다음