|
7345 | 7345 | <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>
|
7346 | 7346 | </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>
|
7347 | 7347 | </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>
|
7348 |
| -<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> |
| 7348 | +<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>V128</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> |
7349 | 7349 | </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>
|
7350 | 7350 | </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><</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>>(</span>
|
7351 | 7351 | </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>
|
|
14460 | 14460 | <label><a href=https://github.com/titusfortner>@titusfortner</a></label>
|
14461 | 14461 | <span class=contributions>232 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/2740?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
14462 | 14462 | <label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
|
14463 |
| -<span class=contributions>132 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3264250?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
| 14463 | +<span class=contributions>133 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3264250?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
14464 | 14464 | <label><a href=https://github.com/alaahong>@alaahong</a></label>
|
14465 | 14465 | <span class=contributions>115 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/10705590?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
14466 | 14466 | <label><a href=https://github.com/pujagani>@pujagani</a></label>
|
|
14500 | 14500 | <label><a href=https://github.com/sindhudiddi>@sindhudiddi</a></label>
|
14501 | 14501 | <span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/4995276?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
14502 | 14502 | <label><a href=https://github.com/hiroksarker>@hiroksarker</a></label>
|
14503 |
| -<span class=contributions>10 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/50069278?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
| 14503 | +<span class=contributions>10 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/22616990?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
| 14504 | +<label><a href=https://github.com/nvborisenko>@nvborisenko</a></label> |
| 14505 | +<span class=contributions>9 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/50069278?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
14504 | 14506 | <label><a href=https://github.com/nwintop>@nwintop</a></label>
|
14505 | 14507 | <span class=contributions>8 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/25596787?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
14506 | 14508 | <label><a href=https://github.com/testbot206>@testbot206</a></label>
|
|
14512 | 14514 | <label><a href=https://github.com/connerT>@connerT</a></label>
|
14513 | 14515 | <span class=contributions>6 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/35181101?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
14514 | 14516 | <label><a href=https://github.com/Greavox>@Greavox</a></label>
|
14515 |
| -<span class=contributions>6 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/22616990?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
14516 |
| -<label><a href=https://github.com/nvborisenko>@nvborisenko</a></label> |
14517 | 14517 | <span class=contributions>6 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/13434707?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
14518 | 14518 | <label><a href=https://github.com/liushilive>@liushilive</a></label>
|
14519 | 14519 | <span class=contributions>6 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/88994346?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
|
0 commit comments