I will test some urls automatically with Chrome on Windows, using parametrized start from CMD. After tests i want to save console.log from each test into own file with meaningful file name.
On passing of --enable-logging --v=1
as start parameter all console.log files are named as chrome_debug.log
, so if running multiple tests, they would be named by Windows as chrome_debug.log, chrome_debug.log(1), chrome_debug.log(2)...
How can i name each console-log-file with any meaningful name like a part of tested url? The best possible way would for me to pass kLogFileName
as start parameter for each test - if it were possible, something like:
start chrome "site1.com" --enable-logging --v=1 --kLogFileName "site1"