百度后尝试使用js.executeScript("$('#VideoID').currentTime;")
报错:org.openqa.selenium.JavascriptException: javascript error: $ is not defined
又百度后改成:js.executeScript("document.getElementById('VideoID').currentTime;")
报null
尝试driver.findElement(By.id("VideoID")).getAttribute("currentTime"))
成功