I am trying to automate upload file functionality in Google Drive.
The element used to pass parameters is hidden with height - 0px.
None of the user actions
Simple solution:
WebElement tmpElement = driver.finElement(ElementLocator); JavascriptExecutor executor = (JavascriptExecutor)driver; executor.executeScript("arguments[0].click();", tmpElement);