Recently i was trying to traverse the DOM in Google Chrome's console.
var list = document.querySelectorAll('.g-recaptcha>div>div');
console.log(list)
i don't know how to go inside #document. Please someone help. Found this article about #document
But the link i provided is of #document problem in selenium web driver. I am not using selenium web driver and I just want to know how can i traverse the #document using css selector or anyother javascript solution.