Skip to content

Commit

Permalink
chore: add text=true to the broken code examples (#2088)[deploy site]
Browse files Browse the repository at this point in the history
chore: add text=true to the broken code examples
  • Loading branch information
Delta456 authored Nov 29, 2024
1 parent 33a0c76 commit 3a3c6b9
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Selenium will return an [element click intercepted](https://w3c.github.io/webdri
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
{{< /tab >}}

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Selenium will return an [element click intercepted](https://w3c.github.io/webdri
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
{{< /tab >}}

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Selenium will return an [element click intercepted](https://w3c.github.io/webdri
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
{{< /tab >}}

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Selenium将返回一个 [元素点击中断](https://w3c.github.io/webdriver/#df
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InteractionTest.java#L18-L22" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/elements/test_interaction.py#L12-L17" >}}
{{< /tab >}}

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ e.g. http://example.com/some404page)
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-L9" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -79,7 +79,7 @@ It returns the serialized cookie data matching with the cookie name among all as
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -132,7 +132,7 @@ If browser is no longer available it returns error.
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -187,8 +187,8 @@ It deletes the cookie data matching with the provided cookie name.
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" text=true >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/CookiesTest.cs#L70-L73" >}}
Expand Down Expand Up @@ -245,8 +245,8 @@ It deletes all the cookies of the current browsing context.
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" text=true >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/CookiesTest.cs#L92-L97" >}}
Expand Down Expand Up @@ -333,8 +333,8 @@ public class cookieTest {
}
}
{{< /tab >}}
{{< tab header="Python" >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" text=true >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
using OpenQA.Selenium;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Cookieの追加では、一連の定義済みのシリアル化可能なJSONオ
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-L9" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -75,7 +75,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -127,7 +127,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -181,7 +181,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -238,7 +238,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -323,7 +323,7 @@ public class cookieTest {
}
}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ por exemplo http://example.com/some404page)
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-L9" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -77,7 +77,7 @@ Retorna os dados do cookie serializado correspondentes ao nome do cookie entre t
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -129,7 +129,7 @@ Se o navegador não estiver mais disponível, ele retornará um erro.
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -183,7 +183,7 @@ Exclui os dados do cookie que correspondem ao nome do cookie fornecido.
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -240,7 +240,7 @@ Exclui todos os cookies do contexto de navegação atual.
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -327,7 +327,7 @@ public class cookieTest {
}
}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ WebDriver API提供了一种使用内置的方法与Cookie进行交互:
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L30-L32" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L5-9" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -73,7 +73,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L38-L42" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -124,7 +124,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L52-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L24-L32" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -178,7 +178,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L74-L77" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L35-L43" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -235,7 +235,7 @@ fun main() {
{{< tab header="Java" text=true >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/CookiesTest.java#L100-L105" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L47-L55" >}}
{{< /tab >}}
{{< tab header="CSharp" text=true >}}
Expand Down Expand Up @@ -321,7 +321,7 @@ public class cookieTest {
}
}
{{< /tab >}}
{{< tab header="Python" >}}
{{< tab header="Python" text=true >}}
{{< gh-codeblock path="examples/python/tests/interactions/test_cookies.py#L59-L71" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
Expand Down

0 comments on commit 3a3c6b9

Please sign in to comment.