3 writes to _page
Microsoft.VisualStudioCode.Razor.IntegrationTests (3)
Services\PlaywrightService.cs (3)
122
_page
= await FindWorkspacePageAsync(workspaceName);
133
_page
= _context.Pages.FirstOrDefault() ?? await _context.NewPageAsync();
226
_page
= null;
7 references to _page
Microsoft.VisualStudioCode.Razor.IntegrationTests (7)
Services\PlaywrightService.cs (7)
24
public IPage Page =>
_page
?? throw new InvalidOperationException("Playwright not connected. Call ConnectAsync first.");
33
if (
_page
== null)
56
await
_page
.ScreenshotAsync(new PageScreenshotOptions
124
if (
_page
!= null)
126
_context =
_page
.Context;
215
if (
_page
!= null)
219
await
_page
.CloseAsync();