Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c75901c
Move assets to nuget directory
nvborisenko Jul 12, 2025
34d5be5
Fix dotnet build
nvborisenko Jul 12, 2025
4754394
Import shared targets
nvborisenko Jul 12, 2025
33c2234
Import targets
nvborisenko Jul 12, 2025
a0cd824
Fix dotnet build
nvborisenko Jul 12, 2025
abc0858
Support buildMultiTargeting
nvborisenko Jul 12, 2025
8a747d1
Update Selenium.WebDriver.csproj
nvborisenko Jul 13, 2025
050c3dd
Pack as native dependency
nvborisenko Jul 13, 2025
715d7b6
dotnet pack
nvborisenko Jul 13, 2025
47b2065
Update Selenium.WebDriver.csproj
nvborisenko Jul 13, 2025
3106d3c
Now it is possible to reference csproj witout any custom targets
nvborisenko Jul 13, 2025
b3f29e5
Clean test project
nvborisenko Jul 13, 2025
088e107
Green tests
nvborisenko Jul 13, 2025
da351d4
Amazing improvement
nvborisenko Jul 13, 2025
8636b15
Throw if not supported
nvborisenko Jul 13, 2025
86ef405
Remove old targets
nvborisenko Jul 14, 2025
e5a0648
Remove unnecessary buildMultiTargeting
nvborisenko Jul 14, 2025
2189a3d
Custom targets for netstandard2.0 only
nvborisenko Jul 14, 2025
8819990
Legacy packages.config support
nvborisenko Jul 14, 2025
2fd1c83
Fix bazel part
nvborisenko Jul 14, 2025
2b32f0f
Add other assets for legacy projects
nvborisenko Jul 14, 2025
e68ab2a
Throw fast if provided incorrectly
nvborisenko Jul 14, 2025
7b86af1
Probing couple of potential SM paths
nvborisenko Jul 14, 2025
f980107
Single file and AOT
nvborisenko Jul 14, 2025
b63491e
Remove temporary fallback
nvborisenko Jul 14, 2025
70009e2
Finally
nvborisenko Jul 14, 2025
5c40a80
Update SeleniumManager.cs
nvborisenko Jul 14, 2025
7ec66a3
Distinct and format error
nvborisenko Jul 14, 2025
5354d1c
Fix bazel, we like it
nvborisenko Jul 14, 2025
10c068d
Fix NullRef
nvborisenko Jul 14, 2025
b856428
More explanations
nvborisenko Jul 15, 2025
a4be9be
More explanations
nvborisenko Jul 15, 2025
8f7a81f
Format script?
nvborisenko Jul 15, 2025
40cf289
Use Path.PathSeparator
nvborisenko Jul 15, 2025
6d64cd2
Use linq to probe file existance
nvborisenko Jul 15, 2025
d4b3da8
Clearer bazel assets target names
nvborisenko Jul 15, 2025
e129016
Merge branch 'trunk' into dotnet-sm-native
nvborisenko Jul 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More explanations
  • Loading branch information
nvborisenko committed Jul 15, 2025
commit a4be9be4381a7cfb01fb625dc388753a7178a911
4 changes: 3 additions & 1 deletion dotnet/src/webdriver/SeleniumManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ public static class SeleniumManager
probingPaths.AddRange(nativeDllSearchDirectories.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).Select(path => Path.Combine(path, seleniumManagerFileName)));
}

// In .NET 5 and later versions, for bundled assemblies, the value returned is an empty string
// Covering the case when the application is hosted by another application, most likely
// we can find Selenium Manager in the assembly location, because "AppContext.BaseDirectory"
// might return the path of the host application.
var assemblyDirectory = Path.GetDirectoryName(typeof(SeleniumManager).Assembly.Location);

if (assemblyDirectory is not null)
Expand Down
Loading