Skip to content

Commit

Permalink
Correct initialization of custom node in grid advanced features (#1576)
Browse files Browse the repository at this point in the history
issue #1571: correct initialization of custom node
	modified:   customize_node.en.md
	modified:   customize_node.ja.md
	modified:   customize_node.pt-br.md
	modified:   customize_node.zh-cn.md

[deploy site] ef7b2e3
  • Loading branch information
selenium-ci committed Feb 6, 2024
1 parent 43b7f18 commit 80fde71
Show file tree
Hide file tree
Showing 29 changed files with 325 additions and 293 deletions.
46 changes: 24 additions & 22 deletions documentation/_print/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8966,8 +8966,8 @@
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>private</span> <span style=color:#000>Node</span> <span style=color:#000>node</span><span style=color:#ce5c00;font-weight:700>;</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>protected</span> <span style=color:#000>DecoratedLoggingNode</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>Tracer</span> <span style=color:#000>tracer</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>URI</span> <span style=color:#000>uri</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>Secret</span> <span style=color:#000>registrationSecret</span><span style=color:#ce5c00;font-weight:700>)</span> <span style=color:#ce5c00;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>super</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>tracer</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>NodeId</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>UUID</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>randomUUID</span><span style=color:#ce5c00;font-weight:700>()),</span> <span style=color:#000>uri</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>registrationSecret</span><span style=color:#ce5c00;font-weight:700>);</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>protected</span> <span style=color:#000>DecoratedLoggingNode</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>Tracer</span> <span style=color:#000>tracer</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>NodeId</span> <span style=color:#000>nodeId</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>URI</span> <span style=color:#000>uri</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>Secret</span> <span style=color:#000>registrationSecret</span><span style=color:#ce5c00;font-weight:700>)</span> <span style=color:#ce5c00;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>super</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>tracer</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>nodeId</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>uri</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>registrationSecret</span><span style=color:#ce5c00;font-weight:700>);</span>
</span></span><span style=display:flex><span> <span style=color:#ce5c00;font-weight:700>}</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>public</span> <span style=color:#204a87;font-weight:700>static</span> <span style=color:#000>Node</span> <span style=color:#000>create</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>Config</span> <span style=color:#000>config</span><span style=color:#ce5c00;font-weight:700>)</span> <span style=color:#ce5c00;font-weight:700>{</span>
Expand All @@ -8980,7 +8980,9 @@
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span> <span style=color:#000>Node</span> <span style=color:#000>node</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#000>LocalNodeFactory</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>create</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>config</span><span style=color:#ce5c00;font-weight:700>);</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> <span style=color:#000>DecoratedLoggingNode</span> <span style=color:#000>wrapper</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>DecoratedLoggingNode</span><span style=color:#ce5c00;font-weight:700>(</span><span style=color:#000>loggingOptions</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>getTracer</span><span style=color:#ce5c00;font-weight:700>(),</span>
</span></span><span style=display:flex><span> <span style=color:#000>uri</span><span style=color:#ce5c00;font-weight:700>,</span> <span style=color:#000>secretOptions</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>getRegistrationSecret</span><span style=color:#ce5c00;font-weight:700>());</span>
</span></span><span style=display:flex><span> <span style=color:#000>node</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>getId</span><span style=color:#ce5c00;font-weight:700>(),</span>
</span></span><span style=display:flex><span> <span style=color:#000>uri</span><span style=color:#ce5c00;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#000>secretOptions</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>getRegistrationSecret</span><span style=color:#ce5c00;font-weight:700>());</span>
</span></span><span style=display:flex><span> <span style=color:#000>wrapper</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#c4a000>node</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#000>node</span><span style=color:#ce5c00;font-weight:700>;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>return</span> <span style=color:#000>wrapper</span><span style=color:#ce5c00;font-weight:700>;</span>
</span></span><span style=display:flex><span> <span style=color:#ce5c00;font-weight:700>}</span>
Expand Down Expand Up @@ -13239,7 +13241,7 @@
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
<span class=contributions>133 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/23253546?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/vietnd96>@vietnd96</a></label>
<span class=contributions>74 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/736870?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<span class=contributions>75 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/736870?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/mtscout6>@mtscout6</a></label>
<span class=contributions>53 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1564624?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/kayabendroth>@kayabendroth</a></label>
Expand Down Expand Up @@ -13609,28 +13611,28 @@
<label><a href=https://github.com/bongosway>@bongosway</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/29910324?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/SinghHrmn>@SinghHrmn</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/24630998?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/kapilyadav1204>@kapilyadav1204</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8975264?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/mookkiah>@mookkiah</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1610801?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/palotas>@palotas</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/9452410?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/miekof>@miekof</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/19201898?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/MohabMohie>@MohabMohie</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6885369?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/naeemakram>@naeemakram</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/27953094?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/rahuljhakant>@rahuljhakant</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/7305503?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/natanportilho>@natanportilho</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/12666836?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/TS000>@TS000</a></label>
<span class=contributions>1 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/54274976?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/TurboSlayer>@TurboSlayer</a></label>
<span class=contributions>1 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8884736?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/tmfink10>@tmfink10</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6885369?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/naeemakram>@naeemakram</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/19201898?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/MohabMohie>@MohabMohie</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/9452410?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/miekof>@miekof</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1610801?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/palotas>@palotas</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8975264?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/mookkiah>@mookkiah</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/24630998?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/kapilyadav1204>@kapilyadav1204</a></label>
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6233068?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/Tahanima>@Tahanima</a></label>
<span class=contributions>1 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/26586593?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/masakazutakewaka>@masakazutakewaka</a></label>
<span class=contributions>1 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3823780?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/utamas>@utamas</a></label>
<span class=contributions>1 commits</span></div></div><h4 id=previous-selenium-websitegithubcomseleniumhqwwwseleniumhqorg><a href=//github.com/SeleniumHQ/www.seleniumhq.org/>Previous Selenium Website</a></h4><style type=text/css>.ghContributors{display:flex;flex-flow:wrap;align-content:flex-start}.ghContributors>div{width:50%;display:inline-flex;margin-bottom:5px}.ghContributors>div label{padding-left:4px}.ghContributors>div span{font-size:x-small;padding-left:4px}</style><div class=ghContributors><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/926454?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
<label><a href=https://github.com/lukeis>@lukeis</a></label>
<span class=contributions>417 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/28229?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
Expand Down
Loading

0 comments on commit 80fde71

Please sign in to comment.