save_browser_log_to_file
save_browser_log_to_file($path); - specifies - save browser logs to a file.
The function accepts parameters as input:
$path – path to the file where logs will be saved
After testing, the function returns the result of its work to the script :
true – successful
false – failed