@@ -214,15 +214,23 @@ Whether to ignore HTTPS errors during navigation. Defaults to `false`.
214214Toggles bypassing page's Content-Security-Policy.
215215
216216## context-option-viewport
217- * langs: js, java, csharp
217+ * langs: js, java
218218 - alias-java: viewportSize
219- - alias-csharp: viewportSize
220219- ` viewport ` <[ null] |[ Object] >
221220 - ` width ` <[ int] > page width in pixels.
222221 - ` height ` <[ int] > page height in pixels.
223222
224223Emulates consistent viewport for each page. Defaults to an 1280x720 viewport. ` null ` disables the default viewport.
225224
225+ ## csharp-context-option-viewport
226+ * langs: csharp
227+ - alias-csharp: viewportSize
228+ - ` viewport ` <[ null] |[ Object] >
229+ - ` width ` <[ int] > page width in pixels.
230+ - ` height ` <[ int] > page height in pixels.
231+
232+ Emulates consistent viewport for each page. Defaults to an 1280x720 viewport. Use ` ViewportSize.NoViewport ` to disable the default viewport.
233+
226234## context-option-screen
227235* langs:
228236 - alias-java: screenSize
@@ -565,6 +573,7 @@ is considered matching if all specified properties match.
565573- %%-context-option-ignorehttpserrors-%%
566574- %%-context-option-bypasscsp-%%
567575- %%-context-option-viewport-%%
576+ - %%-csharp-context-option-viewport-%%
568577- %%-python-context-option-viewport-%%
569578- %%-context-option-screen-%%
570579- %%-python-context-option-no-viewport-%%
0 commit comments