document.querySelector("title").innerText
document.title // javascript get client page title - Google Search