// JavaScriptメソッドの返り値の取得 Object result = ((JavascriptExecutor) driver).executeScript("return $('#user').text()"); String strResult = (String ...