Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- ─── Build infrastructure (applied via Directory.Build.props) ─── -->
<ItemGroup>
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.105" />
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.115" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.300" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.10.85" />
</ItemGroup>
Expand All @@ -23,7 +23,7 @@
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="10.0.1" />
<PackageVersion Include="FluentAssertions" Version="7.2.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.7.0" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
Expand Down
2 changes: 1 addition & 1 deletion src/Flawright/AumidResolver/WindowsAumidResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Flawright.AumidResolver;
/// <para>
/// If neither tier matches, <see cref="Resolve"/> returns a
/// <see cref="LaunchKind.Path"/> target so the caller falls through to the
/// standard <c>Application.AttachOrLaunch</c> path.
/// standard <c>Application.Launch</c> path.
/// </para>
/// </remarks>
public sealed class WindowsAumidResolver : IAumidResolver
Expand Down
2 changes: 1 addition & 1 deletion src/Flawright/Backends/Uia/FlaUiApplicationLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public async Task<IApplicationHandle> Launch(LaunchOptions opts, CancellationTok

var sw = Stopwatch.StartNew();
var app = ProcessAttachRetry.Invoke(
() => Application.AttachOrLaunch(psi),
() => Application.Launch(psi),
onRetry: opts.OnAttachRetry);

// Wait for the process to finish loading its DLL modules before handing
Expand Down
2 changes: 1 addition & 1 deletion src/Flawright/Browser/LaunchOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public sealed record LaunchOptions
/// </summary>
/// <remarks>
/// <para>
/// After <c>Process.Start</c> / <c>Application.AttachOrLaunch</c> returns,
/// After <c>Process.Start</c> / <c>Application.Launch</c> returns,
/// the Win32 loader maps DLL modules asynchronously. On a loaded runner,
/// FlaUI's internal <c>EnumProcessModules</c> calls (used during
/// <c>WaitWhileMainHandleIsMissing</c> and window discovery) can race against
Expand Down
2 changes: 1 addition & 1 deletion src/Flawright/Internals/AppExecutionAliasResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Flawright.Internals;
/// <c>%LOCALAPPDATA%\Microsoft\WindowsApps\</c>) and resolves them to their
/// Application User Model ID (AUMID) so that FlaUI can use
/// <c>Application.LaunchStoreApp</c> instead of the broken
/// <c>Application.AttachOrLaunch</c> path.
/// <c>Application.Launch</c> path (which tracks the stub process and sees it exit immediately).
/// </summary>
/// <remarks>
/// On Windows 11, several inbox apps (Notepad, Calculator, Paint) are packaged
Expand Down
2 changes: 1 addition & 1 deletion src/Flawright/Internals/ProcessReadyGuard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal record ProcessReadyResult(
/// </summary>
/// <remarks>
/// <para>
/// <b>Root cause:</b> <c>Process.Start</c> / <c>Application.AttachOrLaunch</c> returns
/// <b>Root cause:</b> <c>Process.Start</c> / <c>Application.Launch</c> returns
/// as soon as the OS creates the process record. The Win32 loader then maps DLL modules
/// asynchronously. FlaUI's <c>EnumProcessModules</c> calls (used inside
/// <c>WaitWhileMainHandleIsMissing</c> and similar paths) can race against the loader on
Expand Down
Loading