Skip to content

Commit

Permalink
[dotnet] Fix PrintOptions to handle page ranges
Browse files Browse the repository at this point in the history
Fixes issue #9755.
  • Loading branch information
jimevans committed Aug 26, 2021
1 parent 26b625a commit 5f20319
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dotnet/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ v4.0.0rc1
response.
* (on behalf of Nikolay Borisenko) Modified to dispose HttpRequestMessage
and HttpResponseMessage when making HTTP calls across the wire.
* Updated the InternetExplorerOptions class to match the existing capabilities
of the IE driver.
* Updatde the events in HttpCommandExecutor to allow the user to capture
the commands sent to the remote end of a WebDriver session.
* Fixed the PrintOptions class to handle page ranges. Fixes issue #9755.

v4.0.0b4
========
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/PrintOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ internal Dictionary<string, object> ToDictionary()

if (this.pageRanges.Count > 0)
{

toReturn["pageRanges"] = new List<object>(this.pageRanges);
}

return toReturn;
Expand Down

0 comments on commit 5f20319

Please sign in to comment.