Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2f8c968

Browse files
author
nturgut
committed
changing directory path's order
1 parent 7c0c7f8 commit 2f8c968

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/web_ui/dev/driver_manager.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ class ChromeDriverManager extends DriverManager {
4040
final String preferredChromeDriverVersion =
4141
_configuration['preferred_version']['chrome'] as String;
4242
print('preferred_version $preferredChromeDriverVersion');
43-
_browserDriverDirWithVersion = io.Directory(
44-
pathlib.join(_browserDriverDir.path, preferredChromeDriverVersion));
43+
_browserDriverDirWithVersion =io.Directory(pathlib.join(
44+
environment.webUiDartToolDir.path,
45+
'drivers',
46+
browser,
47+
preferredChromeDriverVersion,
48+
'${browser}driver-${io.Platform.operatingSystem.toString()}'));
49+
print('new location ${_browserDriverDirWithVersion.path}');
4550
}
4651

4752
@override

0 commit comments

Comments
 (0)