in tests download file, works fine, later when trying click on element cannot scroll view, chrome download dialog box on bottom of page in way. there no way move button need click view, there way close download box chrome webdriver?
you can use org.openqa.selenium.interactions.actions class move element view:
webelement element = driver.findelement(by.id("my-id")); actions actions = new actions(driver); actions.movetoelement(element); // actions.click(); actions.perform();
Comments
Post a Comment