Can the download driver baseUrl be customized?
hongcha98 opened this issue · 5 comments
Hello, due to network problems, I may build a mirror of playwright.azureedge.net for access, but currently the baseUrl cannot be changed. Can it be changed to BaseUrl so that users can customize it? If so, I can provide one. PR?
const (
playwrightCliVersion = "1.39.0"
baseURL = "https://playwright.azureedge.net/builds/driver"
)
As long as it can be customized, I really need this feature
Maybe we can fall back to other CDNs like we do upstream? https://github.com/microsoft/playwright/blob/7bab19d807e1999e521b8e10fccfccf34cf2a741/packages/playwright-core/src/server/registry/index.ts#L39
Maybe we can fall back to other CDNs like we do upstream? https://github.com/microsoft/playwright/blob/7bab19d807e1999e521b8e10fccfccf34cf2a741/packages/playwright-core/src/server/registry/index.ts#L39
I'll do it this week.