Skip to content

Commit 985b69f

Browse files
committed
[py]: Fix line numbers in remote webdriver code snippets [deploy site]
1 parent e50d581 commit 985b69f

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.en.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and an options instance are both required.
2828
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L38-L39" >}}
2929
{{< /tab >}}
3030
{{% tab header="Python" %}}
31-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L10-L11" >}}
31+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L13-L14" >}}
3232
{{% /tab %}}
3333
{{< tab header="CSharp" >}}
3434
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L28-L29" >}}
@@ -62,7 +62,7 @@ Java does not include a Local File Detector by default, so you must always add o
6262
{{< /tab >}}
6363
{{% tab header="Python" %}}
6464
Python adds a local file detector to remote webdriver instances by default, but you can also create your own class.
65-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L25-L28" >}}
65+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L29-L32" >}}
6666
{{% /tab %}}
6767
{{< tab header="CSharp" >}}
6868
.NET adds a local file detector to remote webdriver instances by default, but you can also create your own class.
@@ -105,7 +105,7 @@ Each of the bindings have a method in the options class to set this.
105105
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L60-L62" >}}
106106
{{< /tab >}}
107107
{{% tab header="Python" %}}
108-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L37-L39" >}}
108+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L42-L44" >}}
109109
{{% /tab %}}
110110
{{< tab header="CSharp" >}}
111111
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L59-L64" >}}
@@ -131,7 +131,7 @@ so the list is an immediate snapshot of what file names are currently in the dir
131131
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L73" >}}
132132
{{< /tab >}}
133133
{{% tab header="Python" %}}
134-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L47" >}}
134+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L52" >}}
135135
{{% /tab %}}
136136
{{< tab header="CSharp" >}}
137137
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L72" >}}
@@ -156,7 +156,7 @@ Selenium looks for the name of the provided file in the list and downloads it to
156156
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}}
157157
{{< /tab >}}
158158
{{% tab header="Python" %}}
159-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L53" >}}
159+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L58" >}}
160160
{{% /tab %}}
161161
{{< tab header="CSharp" >}}
162162
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L78" >}}
@@ -182,7 +182,7 @@ but you can also delete all files during the session.
182182
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L88" >}}
183183
{{< /tab >}}
184184
{{% tab header="Python" %}}
185-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L59" >}}
185+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L64" >}}
186186
{{% /tab %}}
187187
{{< tab header="CSharp" >}}
188188
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L84" >}}

website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.ja.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and an options instance are both required.
2828
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L38-L39" >}}
2929
{{< /tab >}}
3030
{{% tab header="Python" %}}
31-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L10-L11" >}}
31+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L13-L14" >}}
3232
{{% /tab %}}
3333
{{< tab header="CSharp" >}}
3434
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L28-L29" >}}
@@ -62,7 +62,7 @@ Java does not include a Local File Detector by default, so you must always add o
6262
{{< /tab >}}
6363
{{% tab header="Python" %}}
6464
Python adds a local file detector to remote webdriver instances by default, but you can also create your own class.
65-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L25-L28" >}}
65+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#LL29-L32" >}}
6666
{{% /tab %}}
6767
{{< tab header="CSharp" >}}
6868
.NET adds a local file detector to remote webdriver instances by default, but you can also create your own class.
@@ -105,7 +105,7 @@ Each of the bindings have a method in the options class to set this.
105105
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L60-L62" >}}
106106
{{< /tab >}}
107107
{{% tab header="Python" %}}
108-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L37-L39" >}}
108+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L42-L44" >}}
109109
{{% /tab %}}
110110
{{< tab header="CSharp" >}}
111111
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L59-L64" >}}
@@ -131,7 +131,7 @@ so the list is an immediate snapshot of what file names are currently in the dir
131131
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L73" >}}
132132
{{< /tab >}}
133133
{{% tab header="Python" %}}
134-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L47" >}}
134+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L52" >}}
135135
{{% /tab %}}
136136
{{< tab header="CSharp" >}}
137137
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L72" >}}
@@ -156,7 +156,7 @@ Selenium looks for the name of the provided file in the list and downloads it to
156156
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}}
157157
{{< /tab >}}
158158
{{% tab header="Python" %}}
159-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L53" >}}
159+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L58" >}}
160160
{{% /tab %}}
161161
{{< tab header="CSharp" >}}
162162
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L78" >}}
@@ -182,7 +182,7 @@ but you can also delete all files during the session.
182182
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L88" >}}
183183
{{< /tab >}}
184184
{{% tab header="Python" %}}
185-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L59" >}}
185+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L64" >}}
186186
{{% /tab %}}
187187
{{< tab header="CSharp" >}}
188188
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L84" >}}

website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.pt-br.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ and an options instance are both required.
3737
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L38-L39" >}}
3838
{{< /tab >}}
3939
{{% tab header="Python" %}}
40-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L10-L11" >}}
40+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L13-L14" >}}
4141
{{% /tab %}}
4242
{{< tab header="CSharp" >}}
4343
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L28-L29" >}}
@@ -71,7 +71,7 @@ Java does not include a Local File Detector by default, so you must always add o
7171
{{< /tab >}}
7272
{{% tab header="Python" %}}
7373
Python adds a local file detector to remote webdriver instances by default, but you can also create your own class.
74-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L25-L28" >}}
74+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#LL29-L32" >}}
7575
{{% /tab %}}
7676
{{< tab header="CSharp" >}}
7777
.NET adds a local file detector to remote webdriver instances by default, but you can also create your own class.
@@ -114,7 +114,7 @@ Each of the bindings have a method in the options class to set this.
114114
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L60-L62" >}}
115115
{{< /tab >}}
116116
{{% tab header="Python" %}}
117-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L37-L39" >}}
117+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L42-L44" >}}
118118
{{% /tab %}}
119119
{{< tab header="CSharp" >}}
120120
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L59-L64" >}}
@@ -140,7 +140,7 @@ so the list is an immediate snapshot of what file names are currently in the dir
140140
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L73" >}}
141141
{{< /tab >}}
142142
{{% tab header="Python" %}}
143-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L47" >}}
143+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L52" >}}
144144
{{% /tab %}}
145145
{{< tab header="CSharp" >}}
146146
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L72" >}}
@@ -165,7 +165,7 @@ Selenium looks for the name of the provided file in the list and downloads it to
165165
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}}
166166
{{< /tab >}}
167167
{{% tab header="Python" %}}
168-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L53" >}}
168+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L58" >}}
169169
{{% /tab %}}
170170
{{< tab header="CSharp" >}}
171171
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L79" >}}
@@ -191,7 +191,7 @@ but you can also delete all files during the session.
191191
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L88" >}}
192192
{{< /tab >}}
193193
{{% tab header="Python" %}}
194-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L59" >}}
194+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L64" >}}
195195
{{% /tab %}}
196196
{{< tab header="CSharp" >}}
197197
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L84" >}}

website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.zh-cn.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and an options instance are both required.
2828
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L38-L39" >}}
2929
{{< /tab >}}
3030
{{% tab header="Python" %}}
31-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L10-L11" >}}
31+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L13-L14" >}}
3232
{{% /tab %}}
3333
{{< tab header="CSharp" >}}
3434
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L28-L29" >}}
@@ -62,7 +62,7 @@ Java does not include a Local File Detector by default, so you must always add o
6262
{{< /tab >}}
6363
{{% tab header="Python" %}}
6464
Python adds a local file detector to remote webdriver instances by default, but you can also create your own class.
65-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L25-L28" >}}
65+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#LL29-L32" >}}
6666
{{% /tab %}}
6767
{{< tab header="CSharp" >}}
6868
.NET adds a local file detector to remote webdriver instances by default, but you can also create your own class.
@@ -105,7 +105,7 @@ Each of the bindings have a method in the options class to set this.
105105
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L60-L62" >}}
106106
{{< /tab >}}
107107
{{% tab header="Python" %}}
108-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L37-L39" >}}
108+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L42-L44" >}}
109109
{{% /tab %}}
110110
{{< tab header="CSharp" >}}
111111
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L59-L64" >}}
@@ -131,7 +131,7 @@ so the list is an immediate snapshot of what file names are currently in the dir
131131
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L73" >}}
132132
{{< /tab >}}
133133
{{% tab header="Python" %}}
134-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L47" >}}
134+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L52" >}}
135135
{{% /tab %}}
136136
{{< tab header="CSharp" >}}
137137
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L72" >}}
@@ -156,7 +156,7 @@ Selenium looks for the name of the provided file in the list and downloads it to
156156
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}}
157157
{{< /tab >}}
158158
{{% tab header="Python" %}}
159-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L53" >}}
159+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L58" >}}
160160
{{% /tab %}}
161161
{{< tab header="CSharp" >}}
162162
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L79" >}}
@@ -182,7 +182,7 @@ but you can also delete all files during the session.
182182
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L88" >}}
183183
{{< /tab >}}
184184
{{% tab header="Python" %}}
185-
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L59" >}}
185+
{{< gh-codeblock path="examples/python/tests/drivers/test_remote_webdriver.py#L64" >}}
186186
{{% /tab %}}
187187
{{< tab header="CSharp" >}}
188188
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/RemoteWebDriverTest.cs#L84" >}}

0 commit comments

Comments
 (0)