playwright-community / playwright-go

Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
https://playwright-community.github.io/playwright-go/
MIT License
1.94k stars 144 forks source link

Incorrect url pattern for non-release driver versions #421

Closed denis-komarov closed 4 months ago

denis-komarov commented 4 months ago

It seems that the pattern in this code is composed incorrectly:

    if !d.isReleaseVersion() {
        pattern = "%s/next/builds/driver/playwright-%s-%s.zip"
    }

The correct one looks like this:

"%s/builds/driver/next/playwright-%s-%s.zip"