Skip to content

Commit eb53903

Browse files
committed
added csharp code and update documents (#1838)[deploy site]
* added csharp code and update documents * removed a reference --------- Co-authored-by: Sri Harsha <12621691+harsha509@users.noreply.github.com> 268aa6f
1 parent 69fae19 commit eb53903

File tree

38 files changed

+7140
-1164
lines changed

38 files changed

+7140
-1164
lines changed

documentation/_print/index.html

Lines changed: 452 additions & 80 deletions
Large diffs are not rendered by default.

documentation/about/_print/index.html

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

documentation/about/copyright/index.html

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

documentation/webdriver/_print/index.html

Lines changed: 421 additions & 49 deletions
Large diffs are not rendered by default.

documentation/webdriver/bidi/_print/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-py data-lang=py><span style=display:flex><span> <span style=color:#204a87;font-weight:700>async</span> <span style=color:#204a87;font-weight:700>with</span> <span style=color:#000>driver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>bidi_connection</span><span style=color:#000;font-weight:700>()</span> <span style=color:#204a87;font-weight:700>as</span> <span style=color:#000>connection</span><span style=color:#000;font-weight:700>:</span>
286286
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>enable</span><span style=color:#000;font-weight:700>())</span>
287287
</span></span><span style=display:flex><span> <span style=color:#000>metric_list</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>get_metrics</span><span style=color:#000;font-weight:700>())</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/python/tests/bidi/cdp/test_network.py#L26-L28 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
288-
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V126</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
288+
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V127</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
289289
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>var</span> <span style=color:#000>metricsResponse</span> <span style=color:#000;font-weight:700>=</span>
290290
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>session</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>SendCommand</span><span style=color:#000;font-weight:700>&lt;</span><span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>,</span> <span style=color:#000>GetMetricsCommandResponse</span><span style=color:#000;font-weight:700>&gt;(</span>
291291
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>()</span>

documentation/webdriver/bidi/cdp/_print/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-py data-lang=py><span style=display:flex><span> <span style=color:#204a87;font-weight:700>async</span> <span style=color:#204a87;font-weight:700>with</span> <span style=color:#000>driver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>bidi_connection</span><span style=color:#000;font-weight:700>()</span> <span style=color:#204a87;font-weight:700>as</span> <span style=color:#000>connection</span><span style=color:#000;font-weight:700>:</span>
234234
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>enable</span><span style=color:#000;font-weight:700>())</span>
235235
</span></span><span style=display:flex><span> <span style=color:#000>metric_list</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>get_metrics</span><span style=color:#000;font-weight:700>())</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/python/tests/bidi/cdp/test_network.py#L26-L28 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
236-
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V126</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
236+
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V127</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
237237
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>var</span> <span style=color:#000>metricsResponse</span> <span style=color:#000;font-weight:700>=</span>
238238
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>session</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>SendCommand</span><span style=color:#000;font-weight:700>&lt;</span><span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>,</span> <span style=color:#000>GetMetricsCommandResponse</span><span style=color:#000;font-weight:700>&gt;(</span>
239239
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>()</span>

documentation/webdriver/bidi/cdp/network/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-py data-lang=py><span style=display:flex><span> <span style=color:#204a87;font-weight:700>async</span> <span style=color:#204a87;font-weight:700>with</span> <span style=color:#000>driver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>bidi_connection</span><span style=color:#000;font-weight:700>()</span> <span style=color:#204a87;font-weight:700>as</span> <span style=color:#000>connection</span><span style=color:#000;font-weight:700>:</span>
152152
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>enable</span><span style=color:#000;font-weight:700>())</span>
153153
</span></span><span style=display:flex><span> <span style=color:#000>metric_list</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>get_metrics</span><span style=color:#000;font-weight:700>())</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/python/tests/bidi/cdp/test_network.py#L26-L28 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
154-
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V126</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
154+
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V127</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
155155
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>var</span> <span style=color:#000>metricsResponse</span> <span style=color:#000;font-weight:700>=</span>
156156
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>session</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>SendCommand</span><span style=color:#000;font-weight:700>&lt;</span><span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>,</span> <span style=color:#000>GetMetricsCommandResponse</span><span style=color:#000;font-weight:700>&gt;(</span>
157157
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>()</span>

0 commit comments

Comments
 (0)