Skip to content

Commit db3fb29

Browse files
authored
Merge pull request #3 from Dor-bl/webdriver_path
chore: Remove relative path from webDriverPath
2 parents d0160ad + c885f9c commit db3fb29

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/FlaUI.WebDriver.UITests/WebDriverFixture.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ public void Setup()
1919
string assemblyDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
2020
Directory.SetCurrentDirectory(assemblyDir);
2121

22-
var assemblyConfigurationAttribute = Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>();
23-
var buildConfigurationName = assemblyConfigurationAttribute?.Configuration;
24-
25-
var webDriverPath = $"..\\..\\..\\..\\FlaUI.WebDriver\\bin\\{buildConfigurationName}\\FlaUI.WebDriver.exe";
22+
string webDriverPath = Path.Combine(Directory.GetCurrentDirectory(), "FlaUI.WebDriver.exe");
2623
var webDriverArguments = $"--urls={WebDriverUrl}";
2724
var webDriverProcessStartInfo = new ProcessStartInfo(webDriverPath, webDriverArguments)
2825
{

0 commit comments

Comments
 (0)