Skip to content

Commit

Permalink
chore(roll): roll to Playwright 1.37.0 (#2660)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Aug 14, 2023
1 parent efc4dff commit af794fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->116.0.5845.62<!-- GEN:stop --> ||||
| Chromium <!-- GEN:chromium-version -->116.0.5845.82<!-- GEN:stop --> ||||
| WebKit <!-- GEN:webkit-version -->17.0<!-- GEN:stop --> ||||
| Firefox <!-- GEN:firefox-version -->115.0<!-- GEN:stop --> ||||

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Version.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<AssemblyVersion>1.36.0</AssemblyVersion>
<PackageVersion>$(AssemblyVersion)</PackageVersion>
<DriverVersion>1.37.0-alpha-aug-8-2023</DriverVersion>
<DriverVersion>1.37.0</DriverVersion>
<ReleaseVersion>$(AssemblyVersion)</ReleaseVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<NoDefaultExcludes>true</NoDefaultExcludes>
Expand Down
1 change: 1 addition & 0 deletions src/tools/Playwright.Tooling/DriverDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ private async Task DownloadDriverAsync(DirectoryInfo destinationDirectory, strin
}

using var client = new HttpClient();
client.Timeout = TimeSpan.FromMinutes(5);
// Azure seems to not like requests without a user agent.
client.DefaultRequestHeaders.Add("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36");
string url = $"{cdn}/playwright-{driverVersion}-{platform}.zip";
Expand Down

0 comments on commit af794fd

Please sign in to comment.