Skip to content

Commit dbdb46d

Browse files
committed
Issue 2452- fixed line number for CSharp to show correct line for driver (#2489)
fixed 2452 [deploy site] fe610b2
1 parent c1756eb commit dbdb46d

File tree

31 files changed

+71
-71
lines changed

31 files changed

+71
-71
lines changed

_print/documentation/about/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@
536536
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
537537
<span class=contributions>323 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>
538538
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
539-
<span class=contributions>301 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/777185?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
539+
<span class=contributions>300 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/777185?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
540540
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
541541
<span class=contributions>245 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>
542542
<label><a href=https://github.com/alaahong>@alaahong</a></label>

_print/documentation/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3627,8 +3627,8 @@
36273627
</span></span><span style=display:flex><span> <span style=color:#000>options</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#000>webdriver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>ChromeOptions</span><span style=color:#000;font-weight:700>()</span>
36283628
</span></span><span style=display:flex><span> <span style=color:#000>options</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>add_argument</span><span style=color:#000;font-weight:700>(</span><span style=color:#4e9a06>&#34;--no-sandbox&#34;</span><span style=color:#000;font-weight:700>)</span>
36293629
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>return</span> <span style=color:#000>options</span>
3630-
</span></span></code></pre></div></div></div></div></div><script>document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll("div.code-toolbar > .toolbar");e.forEach(e=>e.remove())}),window.showCodeModal=window.showCodeModal||function(e){document.getElementById("codeModal_"+e).style.display="block",document.body.style.overflow="hidden"},window.closeCodeModal=window.closeCodeModal||function(e){document.getElementById("codeModal_"+e).style.display="none",document.body.style.overflow=""},window.copyCode=window.copyCode||function(e,t){const n=document.getElementById("codeContent_"+e),s=n.querySelector("pre"),o=s?s.textContent:n.textContent;if(navigator.clipboard)navigator.clipboard.writeText(o).then(()=>{const e=t.target,n=e.textContent;e.textContent="Copied!",e.style.background="#28a745",e.style.borderColor="#28a745",setTimeout(()=>{e.textContent=n,e.style.background="#007bff",e.style.borderColor="#007bff"},2e3)});else{const n=document.createElement("textarea");n.value=o,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n);const e=t.target,s=e.textContent;e.textContent="Copied!",e.style.background="#28a745",e.style.borderColor="#28a745",setTimeout(()=>{e.textContent=s,e.style.background="#007bff",e.style.borderColor="#007bff"},2e3)}},document.addEventListener("click",function(e){if(e.target.id&&e.target.id.startsWith("codeModal_")){const t=e.target.id.replace("codeModal_","");closeCodeModal(t)}}),document.addEventListener("keydown",function(e){if(e.key==="Escape"){const e=document.querySelectorAll('[id^="codeModal_"]');e.forEach(e=>{if(e.style.display==="block"){const t=e.id.replace("codeModal_","");closeCodeModal(t)}})}})</script></div><div class="tab-body tab-pane fade" id=tabs-04-02 role=tabpanel aria-labelled-by=tabs-04-02-tab tabindex=4><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>string</span> <span style=color:#000>userDataDir</span> <span style=color:#000;font-weight:700>=</span> <span style=color:#000>System</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>IO</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Path</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Combine</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>System</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>IO</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Path</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>GetTempPath</span><span style=color:#000;font-weight:700>(),</span> <span style=color:#000>System</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>IO</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Path</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>GetRandomFileName</span><span style=color:#000;font-weight:700>());</span></span></span></code></pre></div><style>div.code-toolbar>.toolbar{display:none !important}</style><div class="mt-4 pb-2"><div style="border:1px solid #dee2e6;border-radius:6px;overflow:hidden;display:flex"><a onclick='showCodeModal("c9f7f96138788c29a9ece984d237abc5")' style="flex:1;display:flex;align-items:center;justify-content:center;padding:8px 12px;text-decoration:none;color:#007bff;background:#f8f9fa;font-weight:500;transition:background-color .2s;cursor:pointer;border-right:1px solid #dee2e6" onmouseover='this.style.backgroundColor="#e9ecef"' onmouseout='this.style.backgroundColor="#f8f9fa"'>View Complete Code
3631-
</a><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/dotnet/SeleniumDocs/BaseTest.cs#L42 target=_blank style="flex:1;display:flex;align-items:center;justify-content:center;padding:8px 12px;text-decoration:none;color:#007bff;background:#f8f9fa;font-weight:500;transition:background-color .2s" onmouseover='this.style.backgroundColor="#e9ecef"' onmouseout='this.style.backgroundColor="#f8f9fa"'><i class="fas fa-external-link-alt" style=margin-right:8px></i>
3630+
</span></span></code></pre></div></div></div></div></div><script>document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll("div.code-toolbar > .toolbar");e.forEach(e=>e.remove())}),window.showCodeModal=window.showCodeModal||function(e){document.getElementById("codeModal_"+e).style.display="block",document.body.style.overflow="hidden"},window.closeCodeModal=window.closeCodeModal||function(e){document.getElementById("codeModal_"+e).style.display="none",document.body.style.overflow=""},window.copyCode=window.copyCode||function(e,t){const n=document.getElementById("codeContent_"+e),s=n.querySelector("pre"),o=s?s.textContent:n.textContent;if(navigator.clipboard)navigator.clipboard.writeText(o).then(()=>{const e=t.target,n=e.textContent;e.textContent="Copied!",e.style.background="#28a745",e.style.borderColor="#28a745",setTimeout(()=>{e.textContent=n,e.style.background="#007bff",e.style.borderColor="#007bff"},2e3)});else{const n=document.createElement("textarea");n.value=o,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n);const e=t.target,s=e.textContent;e.textContent="Copied!",e.style.background="#28a745",e.style.borderColor="#28a745",setTimeout(()=>{e.textContent=s,e.style.background="#007bff",e.style.borderColor="#007bff"},2e3)}},document.addEventListener("click",function(e){if(e.target.id&&e.target.id.startsWith("codeModal_")){const t=e.target.id.replace("codeModal_","");closeCodeModal(t)}}),document.addEventListener("keydown",function(e){if(e.key==="Escape"){const e=document.querySelectorAll('[id^="codeModal_"]');e.forEach(e=>{if(e.style.display==="block"){const t=e.id.replace("codeModal_","");closeCodeModal(t)}})}})</script></div><div class="tab-body tab-pane fade" id=tabs-04-02 role=tabpanel aria-labelled-by=tabs-04-02-tab tabindex=4><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:#000>driver</span> <span style=color:#000;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>ChromeDriver</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>options</span><span style=color:#000;font-weight:700>);</span></span></span></code></pre></div><style>div.code-toolbar>.toolbar{display:none !important}</style><div class="mt-4 pb-2"><div style="border:1px solid #dee2e6;border-radius:6px;overflow:hidden;display:flex"><a onclick='showCodeModal("c9f7f96138788c29a9ece984d237abc5")' style="flex:1;display:flex;align-items:center;justify-content:center;padding:8px 12px;text-decoration:none;color:#007bff;background:#f8f9fa;font-weight:500;transition:background-color .2s;cursor:pointer;border-right:1px solid #dee2e6" onmouseover='this.style.backgroundColor="#e9ecef"' onmouseout='this.style.backgroundColor="#f8f9fa"'>View Complete Code
3631+
</a><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/dotnet/SeleniumDocs/BaseTest.cs#L48 target=_blank style="flex:1;display:flex;align-items:center;justify-content:center;padding:8px 12px;text-decoration:none;color:#007bff;background:#f8f9fa;font-weight:500;transition:background-color .2s" onmouseover='this.style.backgroundColor="#e9ecef"' onmouseout='this.style.backgroundColor="#f8f9fa"'><i class="fas fa-external-link-alt" style=margin-right:8px></i>
36323632
View on GitHub</a></div></div><div id=codeModal_c9f7f96138788c29a9ece984d237abc5 style=display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:1050><div style="position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:8px;max-width:90%;max-height:90%;overflow:auto;box-shadow:0 4px 20px rgba(0,0,0,.3)"><div style="position:sticky;top:0;z-index:10;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.1);padding:10px 15px;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;align-items:center;height:50px"><h5 style=margin:0>/examples/dotnet/SeleniumDocs/BaseTest.cs</h5><div><button onclick='copyCode("c9f7f96138788c29a9ece984d237abc5",event)' style="margin-right:10px;padding:5px 10px;border:1px solid #007bff;background:#007bff;color:#fff;border-radius:4px;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none">
36333633
Copy
36343634
</button>
@@ -156789,7 +156789,7 @@
156789156789
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
156790156790
<span class=contributions>323 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>
156791156791
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
156792-
<span class=contributions>301 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/777185?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
156792+
<span class=contributions>300 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/777185?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
156793156793
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
156794156794
<span class=contributions>245 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>
156795156795
<label><a href=https://github.com/alaahong>@alaahong</a></label>

0 commit comments

Comments
 (0)