Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. $command = 'node ./node_modules/lighthouse/lighthouse-cli/index.js --chrome-flags="--headless" ' . $config . ' ' . $this->clientObj->clienturl;
  2.  
  3. $aResult['res'] = exec($command . ' 2>&1', $aResult['output'], $aResult['return']);
  4.  
  5. --output-path=./lighthouse/report.json --output json
  6.  
  7. $command = 'lighthouse --chrome-flags="--headless" ' . $config . ' ' . $this->clientObj->clienturl;
  8.  
  9. 'lighthouse' is not recognized as an internal or external command, operable program or batch file.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement