Thanks Eric for your reply. I've been asked why I want to do this.
I have been using cURL to login to our suppliers websites and check product updates. I have struck a few that have been heavily javascript generated and I cannot use cURL to login. I'm looking for a solution. I was going to try phantomjs but see that it has been deprecated and headless chrome is now recommended. Headless browsers are completely new to me. I don't know if I can do this with chrome or whether I'm the right forum to be asking for help. Any help or guidance is appreciated as most that have read involves puppeteer, selenium and nodejs which I have no experience in.
I have managed to open a chrome browser using php exec() but cannot seem to get it open in headless mode using "C:/Program Files/Google/Chrome/Application/chrome.exe --enable-logging --headless --disable-gpu --dump-dom" run scripts or save files.
I think I have missed something fundamental but don't know what.