chore: commented out wip code
This commit is contained in:
@@ -7,6 +7,10 @@ namespace Beam.Puppeteer {
|
|||||||
public static Lazy<IPlaywright> Playwright { get; set; }
|
public static Lazy<IPlaywright> Playwright { get; set; }
|
||||||
public static Lazy<IBrowser> Browser { get; set; }
|
public static Lazy<IBrowser> Browser { get; set; }
|
||||||
|
|
||||||
|
//public static Task<IBrowser> OpenBrowser() {
|
||||||
|
|
||||||
|
//}
|
||||||
|
|
||||||
static PuppetContext() {
|
static PuppetContext() {
|
||||||
Playwright = new Lazy<IPlaywright>(() => Microsoft.Playwright.Playwright.CreateAsync().Result);
|
Playwright = new Lazy<IPlaywright>(() => Microsoft.Playwright.Playwright.CreateAsync().Result);
|
||||||
Browser = new Lazy<IBrowser>(() => Playwright.Value.Chromium.LaunchAsync().Result);
|
Browser = new Lazy<IBrowser>(() => Playwright.Value.Chromium.LaunchAsync().Result);
|
||||||
|
|||||||
Reference in New Issue
Block a user