In task scheduler you use the same path as for example inside a batch file. The Microsoft Edge file path on English Windows is C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
This RPA command line works well for me:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" "file:///c:/test/ui.vision.html?direct=1¯o=Demo/Core/DemoAutofill&savelog=log1.txt"
See also the RPA API batch file collection.
Short Edge demo: