Skip to content

Commit 3a3c6b9

Browse files
authored
chore: add text=true to the broken code examples (#2088)[deploy site]
chore: add text=true to the broken code examples
1 parent 33a0c76 commit 3a3c6b9

File tree

8 files changed

+39
-39
lines changed

8 files changed

+39
-39
lines changed

website_and_docs/content/documentation/webdriver/elements/interactions.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Selenium will return an [element click intercepted](https://w3c.github.io/webdri
4848
{{< tab header="Java" text=true >}}
4949
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
5050
{{< /tab >}}
51-
{{< tab header="Python" >}}
51+
{{< tab header="Python" text=true >}}
5252
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
5353
{{< /tab >}}
5454

@@ -89,7 +89,7 @@ possible keystrokes that WebDriver Supports.
8989
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L27-L32" >}}
9090
{{< /tab >}}
9191

92-
{{< tab header="Python" >}}
92+
{{< tab header="Python" text=true >}}
9393
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L22-L27" >}}
9494
{{< /tab >}}
9595

@@ -131,7 +131,7 @@ with a`content-editable` attribute. If these conditions are not met,
131131
{{< tab header="Java" text=true >}}
132132
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L38-L40" >}}
133133
{{< /tab >}}
134-
{{< tab header="Python" >}}
134+
{{< tab header="Python" text=true >}}
135135
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L34" >}}
136136
{{< /tab >}}
137137

website_and_docs/content/documentation/webdriver/elements/interactions.ja.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Selenium will return an [element click intercepted](https://w3c.github.io/webdri
4444
{{< tab header="Java" text=true >}}
4545
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
4646
{{< /tab >}}
47-
{{< tab header="Python" >}}
47+
{{< tab header="Python" text=true >}}
4848
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
4949
{{< /tab >}}
5050

@@ -86,7 +86,7 @@ possible keystrokes that WebDriver Supports.
8686
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L27-L32" >}}
8787
{{< /tab >}}
8888

89-
{{< tab header="Python" >}}
89+
{{< tab header="Python" text=true >}}
9090
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L22-L27" >}}
9191
{{< /tab >}}
9292

@@ -127,7 +127,7 @@ with a`content-editable` attribute. If these conditions are not met,
127127
{{< tab header="Java" text=true >}}
128128
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L38-L40" >}}
129129
{{< /tab >}}
130-
{{< tab header="Python" >}}
130+
{{< tab header="Python" text=true >}}
131131
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L34" >}}
132132
{{< /tab >}}
133133

website_and_docs/content/documentation/webdriver/elements/interactions.pt-br.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Selenium will return an [element click intercepted](https://w3c.github.io/webdri
4545
{{< tab header="Java" text=true >}}
4646
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
4747
{{< /tab >}}
48-
{{< tab header="Python" >}}
48+
{{< tab header="Python" text=true >}}
4949
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
5050
{{< /tab >}}
5151

@@ -87,7 +87,7 @@ possible keystrokes that WebDriver Supports.
8787
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L27-L32" >}}
8888
{{< /tab >}}
8989

90-
{{< tab header="Python" >}}
90+
{{< tab header="Python" text=true >}}
9191
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L22-L27" >}}
9292
{{< /tab >}}
9393

@@ -128,7 +128,7 @@ with a`content-editable` attribute. If these conditions are not met,
128128
{{< tab header="Java" text=true >}}
129129
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L38-L40" >}}
130130
{{< /tab >}}
131-
{{< tab header="Python" >}}
131+
{{< tab header="Python" text=true >}}
132132
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L34" >}}
133133
{{< /tab >}}
134134

website_and_docs/content/documentation/webdriver/elements/interactions.zh-cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Selenium将返回一个 [元素点击中断](https://w3c.github.io/webdriver/#df
4747
{{< tab header="Java" text=true >}}
4848
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
4949
{{< /tab >}}
50-
{{< tab header="Python" >}}
50+
{{< tab header="Python" text=true >}}
5151
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
5252
{{< /tab >}}
5353

@@ -89,7 +89,7 @@ Selenium将返回一个 [元素点击中断](https://w3c.github.io/webdriver/#df
8989
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L27-L32" >}}
9090
{{< /tab >}}
9191

92-
{{< tab header="Python" >}}
92+
{{< tab header="Python" text=true >}}
9393
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L22-L27" >}}
9494
{{< /tab >}}
9595

@@ -132,7 +132,7 @@ Selenium将返回一个 [元素点击中断](https://w3c.github.io/webdriver/#df
132132
{{< tab header="Java" text=true >}}
133133
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L38-L40" >}}
134134
{{< /tab >}}
135-
{{< tab header="Python" >}}
135+
{{< tab header="Python" text=true >}}
136136
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L34" >}}
137137
{{< /tab >}}
138138

website_and_docs/content/documentation/webdriver/interactions/cookies.en.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ e.g. http://example.com/some404page)
3030
{{< tab header="Java" text=true >}}
3131
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
3232
{{< /tab >}}
33-
{{< tab header="Python" >}}
33+
{{< tab header="Python" text=true >}}
3434
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-L9" >}}
3535
{{< /tab >}}
3636
{{< tab header="CSharp" text=true >}}
@@ -79,7 +79,7 @@ It returns the serialized cookie data matching with the cookie name among all as
7979
{{< tab header="Java" text=true >}}
8080
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
8181
{{< /tab >}}
82-
{{< tab header="Python" >}}
82+
{{< tab header="Python" text=true >}}
8383
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
8484
{{< /tab >}}
8585
{{< tab header="CSharp" text=true >}}
@@ -132,7 +132,7 @@ If browser is no longer available it returns error.
132132
{{< tab header="Java" text=true >}}
133133
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
134134
{{< /tab >}}
135-
{{< tab header="Python" >}}
135+
{{< tab header="Python" text=true >}}
136136
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
137137
{{< /tab >}}
138138
{{< tab header="CSharp" text=true >}}
@@ -187,8 +187,8 @@ It deletes the cookie data matching with the provided cookie name.
187187
{{< tab header="Java" text=true >}}
188188
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
189189
{{< /tab >}}
190-
{{< tab header="Python" >}}
191-
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
190+
{{< tab header="Python" text=true >}}
191+
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" text=true >}}
192192
{{< /tab >}}
193193
{{< tab header="CSharp" text=true >}}
194194
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/CookiesTest.cs#L70-L73" >}}
@@ -245,8 +245,8 @@ It deletes all the cookies of the current browsing context.
245245
{{< tab header="Java" text=true >}}
246246
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
247247
{{< /tab >}}
248-
{{< tab header="Python" >}}
249-
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
248+
{{< tab header="Python" text=true >}}
249+
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" text=true >}}
250250
{{< /tab >}}
251251
{{< tab header="CSharp" text=true >}}
252252
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/CookiesTest.cs#L92-L97" >}}
@@ -333,8 +333,8 @@ public class cookieTest {
333333
}
334334
}
335335
{{< /tab >}}
336-
{{< tab header="Python" >}}
337-
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
336+
{{< tab header="Python" text=true >}}
337+
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" text=true >}}
338338
{{< /tab >}}
339339
{{< tab header="CSharp" >}}
340340
using OpenQA.Selenium;

website_and_docs/content/documentation/webdriver/interactions/cookies.ja.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Cookieの追加では、一連の定義済みのシリアル化可能なJSONオ
2727
{{< tab header="Java" text=true >}}
2828
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
2929
{{< /tab >}}
30-
{{< tab header="Python" >}}
30+
{{< tab header="Python" text=true >}}
3131
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-L9" >}}
3232
{{< /tab >}}
3333
{{< tab header="CSharp" text=true >}}
@@ -75,7 +75,7 @@ fun main() {
7575
{{< tab header="Java" text=true >}}
7676
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
7777
{{< /tab >}}
78-
{{< tab header="Python" >}}
78+
{{< tab header="Python" text=true >}}
7979
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
8080
{{< /tab >}}
8181
{{< tab header="CSharp" text=true >}}
@@ -127,7 +127,7 @@ fun main() {
127127
{{< tab header="Java" text=true >}}
128128
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
129129
{{< /tab >}}
130-
{{< tab header="Python" >}}
130+
{{< tab header="Python" text=true >}}
131131
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
132132
{{< /tab >}}
133133
{{< tab header="CSharp" text=true >}}
@@ -181,7 +181,7 @@ fun main() {
181181
{{< tab header="Java" text=true >}}
182182
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
183183
{{< /tab >}}
184-
{{< tab header="Python" >}}
184+
{{< tab header="Python" text=true >}}
185185
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
186186
{{< /tab >}}
187187
{{< tab header="CSharp" text=true >}}
@@ -238,7 +238,7 @@ fun main() {
238238
{{< tab header="Java" text=true >}}
239239
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
240240
{{< /tab >}}
241-
{{< tab header="Python" >}}
241+
{{< tab header="Python" text=true >}}
242242
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
243243
{{< /tab >}}
244244
{{< tab header="CSharp" text=true >}}
@@ -323,7 +323,7 @@ public class cookieTest {
323323
}
324324
}
325325
{{< /tab >}}
326-
{{< tab header="Python" >}}
326+
{{< tab header="Python" text=true >}}
327327
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
328328
{{< /tab >}}
329329
{{< tab header="CSharp" >}}

website_and_docs/content/documentation/webdriver/interactions/cookies.pt-br.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ por exemplo http://example.com/some404page)
2929
{{< tab header="Java" text=true >}}
3030
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
3131
{{< /tab >}}
32-
{{< tab header="Python" >}}
32+
{{< tab header="Python" text=true >}}
3333
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-L9" >}}
3434
{{< /tab >}}
3535
{{< tab header="CSharp" text=true >}}
@@ -77,7 +77,7 @@ Retorna os dados do cookie serializado correspondentes ao nome do cookie entre t
7777
{{< tab header="Java" text=true >}}
7878
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
7979
{{< /tab >}}
80-
{{< tab header="Python" >}}
80+
{{< tab header="Python" text=true >}}
8181
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
8282
{{< /tab >}}
8383
{{< tab header="CSharp" text=true >}}
@@ -129,7 +129,7 @@ Se o navegador não estiver mais disponível, ele retornará um erro.
129129
{{< tab header="Java" text=true >}}
130130
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
131131
{{< /tab >}}
132-
{{< tab header="Python" >}}
132+
{{< tab header="Python" text=true >}}
133133
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
134134
{{< /tab >}}
135135
{{< tab header="CSharp" text=true >}}
@@ -183,7 +183,7 @@ Exclui os dados do cookie que correspondem ao nome do cookie fornecido.
183183
{{< tab header="Java" text=true >}}
184184
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
185185
{{< /tab >}}
186-
{{< tab header="Python" >}}
186+
{{< tab header="Python" text=true >}}
187187
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
188188
{{< /tab >}}
189189
{{< tab header="CSharp" text=true >}}
@@ -240,7 +240,7 @@ Exclui todos os cookies do contexto de navegação atual.
240240
{{< tab header="Java" text=true >}}
241241
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
242242
{{< /tab >}}
243-
{{< tab header="Python" >}}
243+
{{< tab header="Python" text=true >}}
244244
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
245245
{{< /tab >}}
246246
{{< tab header="CSharp" text=true >}}
@@ -327,7 +327,7 @@ public class cookieTest {
327327
}
328328
}
329329
{{< /tab >}}
330-
{{< tab header="Python" >}}
330+
{{< tab header="Python" text=true >}}
331331
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
332332
{{< /tab >}}
333333
{{< tab header="CSharp" >}}

website_and_docs/content/documentation/webdriver/interactions/cookies.zh-cn.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ WebDriver API提供了一种使用内置的方法与Cookie进行交互:
2525
{{< tab header="Java" text=true >}}
2626
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
2727
{{< /tab >}}
28-
{{< tab header="Python" >}}
28+
{{< tab header="Python" text=true >}}
2929
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-9" >}}
3030
{{< /tab >}}
3131
{{< tab header="CSharp" text=true >}}
@@ -73,7 +73,7 @@ fun main() {
7373
{{< tab header="Java" text=true >}}
7474
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
7575
{{< /tab >}}
76-
{{< tab header="Python" >}}
76+
{{< tab header="Python" text=true >}}
7777
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
7878
{{< /tab >}}
7979
{{< tab header="CSharp" text=true >}}
@@ -124,7 +124,7 @@ fun main() {
124124
{{< tab header="Java" text=true >}}
125125
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
126126
{{< /tab >}}
127-
{{< tab header="Python" >}}
127+
{{< tab header="Python" text=true >}}
128128
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
129129
{{< /tab >}}
130130
{{< tab header="CSharp" text=true >}}
@@ -178,7 +178,7 @@ fun main() {
178178
{{< tab header="Java" text=true >}}
179179
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
180180
{{< /tab >}}
181-
{{< tab header="Python" >}}
181+
{{< tab header="Python" text=true >}}
182182
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
183183
{{< /tab >}}
184184
{{< tab header="CSharp" text=true >}}
@@ -235,7 +235,7 @@ fun main() {
235235
{{< tab header="Java" text=true >}}
236236
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
237237
{{< /tab >}}
238-
{{< tab header="Python" >}}
238+
{{< tab header="Python" text=true >}}
239239
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
240240
{{< /tab >}}
241241
{{< tab header="CSharp" text=true >}}
@@ -321,7 +321,7 @@ public class cookieTest {
321321
}
322322
}
323323
{{< /tab >}}
324-
{{< tab header="Python" >}}
324+
{{< tab header="Python" text=true >}}
325325
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
326326
{{< /tab >}}
327327
{{< tab header="CSharp" >}}

0 commit comments

Comments
 (0)