How to go through the Chrome login page using Headless Chrome and output a lot of DOM?

I'm trying to accomplish two things with new Chrome without Chrome:

1) import existing Chrome cookies into Headless. Either using a similar method to wget "--save-cookies cookie.txt" or some other means.

2) when I dump the dom (using --dump-dom) I would like the output not to overwrite the existing output file. I have been struggling with this for a while and hope someone can point me in the right direction!

+3
google-chrome selenium-chromedriver headless


source to share


No one has answered this question yet

See similar questions:

239
How do I go through the login page using Wget?

or similar:

1153
How do I get ASP.NET Web API to return JSON instead of XML using Chrome?
34
How to set the browser window size when using `google-chrome -headless`?
fourteen
How to use Chrome without using Chrome in Chrome 60 on Windows 10?
4
Can I use a chrome browser to save a complete resource webpage?
1
How to defer DOM capture using Chrome headless mode
1
Heads Chrome page not loading
0
How to get Chrome memory status in headless mode?
0
Chrome extensions: passing DOM data to source page / script
0
Chrome headless screenshot stuck
0
google chrome headless puppeteer get page DOM



All Articles
Loading...
X
Show
Funny
Dev
Pics