Core Modules@serenity-js/coreFunctionsfileUrlToPathexternalfileUrlToPath CallablefileUrlToPath(fileName: string): stringConverts a file:/// URL to a filesystem path, handling both Windows drive letters (file:///C:/path) and Unix absolute paths (file:///home/user). Returns the input unchanged if it is not a file:/// URL.@packageParametersexternalfileName: stringReturns string
Converts a
file:///URL to a filesystem path, handling both Windows drive letters (file:///C:/path) and Unix absolute paths (file:///home/user).Returns the input unchanged if it is not a
file:///URL.