Changelog
[0.86.0-3]
findpath
looks for actual path and not symlink. On Windows, if user does not have Administrator privileges, symlink is not created, then findpath
fails to find the file path. findpath
is async with return type Promise<string>
and has a secondary options argument. This is useful when you have multiple binaries. Here's an example of how to get the file path to ChromeDriver. 75a9fc0const nwPath = await findpath('chromedriver', { flavor: 'sdk' });