[SOLVED] How can I get the cookie when host was first loaded in webview in android

hi guys, How can I get the cookie when host was first loaded in webview in android? I try to use code “$dom7.document.cookie”, but $dom7 doesnt have “document”. I need help, thanks

Sorry, I get the answer. use follow code:

document.cookie;