Skip to content

Commit 2c97203

Browse files
committed
fix close tabs
1 parent ac6ee26 commit 2c97203

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

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

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ Returns a boolean value, **True** if the connected element is
6464
{{< tab header="Java" text=true >}}
6565
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InformationTest.java#L27-L30" >}}
6666
{{< /tab >}}
67-
{{< tab header="Python" text=true >}}
67+
{{< tab header="Python" text=true >}}
6868
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L19" >}}
69+
{{< /tab >}}
6970
{{< tab header="CSharp" text=true >}}
7071
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L28" >}}
7172
{{< /tab >}}
@@ -76,13 +77,11 @@ Returns a boolean value, **True** if the connected element is
7677
{{< gh-codeblock path="/examples/javascript/test/elements/information.spec.js#L23-L24">}}
7778
{{< /tab >}}
7879
{{< tab header="Kotlin" >}}
80+
//navigates to url
81+
driver.get("https://www.selenium.dev/selenium/web/inputs.html")
7982

80-
//navigates to url
81-
driver.get("https://www.selenium.dev/selenium/web/inputs.html")
82-
83-
//returns true if element is enabled else returns false
84-
val attr = driver.findElement(By.name("button_input")).isEnabled()
85-
83+
//returns true if element is enabled else returns false
84+
val attr = driver.findElement(By.name("button_input")).isEnabled()
8685
{{< /tab >}}
8786
{{< /tabpane >}}
8887

@@ -103,7 +102,7 @@ Retorna um valor booleano, **true** se o elemento referenciado for
103102
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InformationTest.java#L32-L35" >}}
104103
{{< /tab >}}
105104
{{< tab header="Python" text=true >}}
106-
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L23" >}}
105+
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L23" >}}
107106
{{< /tab >}}
108107
{{< tab header="CSharp" text=true >}}
109108
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L33" >}}
@@ -146,13 +145,13 @@ do elemento referenciado que tem o foco no contexto de navegação atual.
146145
{{< tab header="JavaScript" text=true >}}
147146
{{< gh-codeblock path="/examples/javascript/test/elements/information.spec.js#L37-L38">}}
148147
{{< /tab >}}
149-
{{< tab header="Kotlin" >}}
150-
//navigates to url
151-
driver.get("https://www.selenium.dev/selenium/web/inputs.html")
148+
{{< tab header="Kotlin" >}}
149+
//navigates to url
150+
driver.get("https://www.selenium.dev/selenium/web/inputs.html")
152151

153-
//returns TagName of the element
154-
val attr = driver.findElement(By.name("email_input")).getTagName()
155-
{{< /tab >}}
152+
//returns TagName of the element
153+
val attr = driver.findElement(By.name("email_input")).getTagName()
154+
{{< /tab >}}
156155
{{< /tabpane >}}
157156

158157
## Coletar retângulo do elemento
@@ -236,8 +235,9 @@ Recupera o texto renderizado do elemento especificado.
236235
{{< tab header="Java" text=true >}}
237236
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/InformationTest.java#L54-L57" >}}
238237
{{< /tab >}}
239-
{{< tab header="Python" text=true >}}
238+
{{< tab header="Python" text=true >}}
240239
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L41" >}}
240+
{{< /tab >}}
241241
{{< tab header="CSharp" text=true >}}
242242
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L56" >}}
243243
{{< /tab >}}
@@ -270,6 +270,7 @@ with the DOM attribute or property of the element.
270270
{{< /tab >}}
271271
{{< tab header="Python" text=true >}}
272272
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L44-L46" >}}
273+
{{< /tab >}}
273274
{{< tab header="CSharp" text=true >}}
274275
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L63" >}}
275276
{{< /tab >}}

0 commit comments

Comments
 (0)