WebElement helpText = wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("/html/body/div[5]/div"))); JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("arguments[0].remove();", helpText);
sometime it works, try once