How do I run Chrome in headless mode?

How do I run Chrome in headless mode?
Answer
Launching Chrome. chrome-remote-interface doesn’t launch Chrome for you, so you’ll have to take care of that yourself. In the CLI section, we started Chrome manually using –headless –remote-debugging-port=9222 . However, to fully automate tests, you’ll probably want to spawn Chrome from your application.
 

Tìm kiếm

Back
Top