1 write to _targetSessionId
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserPageSession.cs (1)
262
_targetSessionId
= attachToTargetResult.SessionId
6 references to _targetSessionId
Aspire.Hosting.Browsers.Tests (6)
src\Aspire.Hosting.Browsers\BrowserPageSession.cs (6)
73
public string TargetSessionId =>
_targetSessionId
?? throw new InvalidOperationException("Browser target session id is not available before the target session starts.");
86
var targetSessionId =
_targetSessionId
?? throw new InvalidOperationException("Browser target session id is not available before the target session starts.");
267
await _connection.EnablePageInstrumentationAsync(
_targetSessionId
, cancellationToken).ConfigureAwait(false);
271
await _connection.NavigateAsync(
_targetSessionId
, _url, cancellationToken).ConfigureAwait(false);
443
if (TryGetPageCompletion(protocolEvent, _targetId,
_targetSessionId
) is { } pageCompletion)
449
if (string.Equals(protocolEvent.SessionId,
_targetSessionId
, StringComparison.Ordinal))