This commit is contained in:
GitHub Action 2022-08-24 03:19:24 +00:00
Родитель 89e75484c0
Коммит f86372495f
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -39,6 +39,7 @@ VerifyPlaywright.Enable(installPlaywright: true);
```cs
// wait for target server to start
await SocketWaiter.Wait(port: 5000);
playwright = await Playwright.CreateAsync();
browser = await playwright.Chromium.LaunchAsync();
```
@ -194,10 +195,12 @@ VerifyPuppeteer.Enable();
```cs
// wait for target server to start
await SocketWaiter.Wait(port: 5000);
using (var fetcher = new BrowserFetcher(Product.Chrome))
{
await fetcher.DownloadAsync();
}
browser = await Puppeteer.LaunchAsync(
new()
{
@ -318,6 +321,7 @@ VerifySelenium.Enable();
```cs
// wait for target server to start
await SocketWaiter.Wait(port: 5000);
var options = new ChromeOptions();
options.AddArgument("--no-sandbox");
options.AddArgument("--headless");
@ -411,4 +415,4 @@ The rendering can very slightly between different OS versions. This can make ver
## Icon
[Crystal](https://thenounproject.com/term/crystal/1440050/) designed by [Monjin Friends](https://thenounproject.com/monjin.friends) from [The Noun Project](https://thenounproject.com).
[Crystal](https://thenounproject.com/term/crystal/1440050/) designed by [Monjin Friends](https://thenounproject.com/monjin.friends) from [The Noun Project](https://thenounproject.com).