Closed anunay1 closed 3 years ago
IgnoreHTTPSErrors is a context option, you can pass it in NewPageAsync which internally creates a context. See here: https://playwright.dev/dotnet/docs/next/api/class-browser#browser-new-context-option-ignore-https-errors
You need to call context.NewPageAsync() to get the page. Currently you only have a context.
See here: https://playwright.dev/dotnet/docs/core-concepts/#browser-contexts
Your question
I am trying to launch Firefox but receive the error in the subject line. how to I use the option IgnoreHTTPSErrors = true.
if I try to use, I get the below error: