Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update wait documentation (#1358)[deploy site]
* update wait documentation * updates based on feedback and removing unnecessary explanations * fix all double-parentheses links
- Loading branch information
1 parent
0f7af65
commit d1af4fe
Showing
16 changed files
with
638 additions
and
1,635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
website_and_docs/content/documentation/webdriver/support_features/colors.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
website_and_docs/content/documentation/webdriver/support_features/colors.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
website_and_docs/content/documentation/webdriver/support_features/colors.pt-br.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
website_and_docs/content/documentation/webdriver/support_features/colors.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...docs/content/documentation/webdriver/support_features/expected_conditions.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: "Waiting with Expected Conditions" | ||
linkTitle: "Expected Conditions" | ||
weight: 1 | ||
description: > | ||
These are classes used to describe what needs to be waited for. | ||
--- | ||
|
||
Expected Conditions are used with [Explicit Waits]({{< ref "../waits#explicit-waits" >}}). | ||
Instead of defining the block of code to be executed with a _lambda_, an expected | ||
conditions method can be created to represent common things that get waited on. Some | ||
methods take locators as arguments, others take elements as arguments. | ||
|
||
These methods can include conditions such as: | ||
|
||
* element exists | ||
* element is stale | ||
* element is visible | ||
* text is visible | ||
* title contains specified value | ||
|
||
{{< tabpane text=true langEqualsHeader=true >}} | ||
{{% tab header="Java" %}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) | ||
{{< badge-code >}} | ||
{{% /tab %}} | ||
{{< tab header="Python" >}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.expected_conditions.html) | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
.NET stopped supporting Expected Conditions in Selenium 4 to minimize maintenance hassle and redundancy. | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
Ruby makes frequent use of blocks, procs and lambdas and does not need Expected Conditions classes | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
43 changes: 43 additions & 0 deletions
43
...docs/content/documentation/webdriver/support_features/expected_conditions.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: "Waiting with Expected Conditions" | ||
linkTitle: "Expected Conditions" | ||
weight: 1 | ||
description: > | ||
These are classes used to describe what needs to be waited for. | ||
--- | ||
|
||
Expected Conditions are used with [Explicit Waits]({{< ref "../waits#explicit-waits" >}}). | ||
Instead of defining the block of code to be executed with a _lambda_, an expected | ||
conditions method can be created to represent common things that get waited on. Some | ||
methods take locators as arguments, others take elements as arguments. | ||
|
||
These methods can include conditions such as: | ||
|
||
* element exists | ||
* element is stale | ||
* element is visible | ||
* text is visible | ||
* title contains specified value | ||
|
||
{{< tabpane text=true langEqualsHeader=true >}} | ||
{{% tab header="Java" %}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) | ||
{{< badge-code >}} | ||
{{% /tab %}} | ||
{{< tab header="Python" >}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.expected_conditions.html) | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
.NET stopped supporting Expected Conditions in Selenium 4 to minimize maintenance hassle and redundancy. | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
Ruby makes frequent use of blocks, procs and lambdas and does not need Expected Conditions classes | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
43 changes: 43 additions & 0 deletions
43
...s/content/documentation/webdriver/support_features/expected_conditions.pt-br.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[expected_conditions.ja.md](expected_conditions.ja.md)--- | ||
title: "Waiting with Expected Conditions" | ||
linkTitle: "Expected Conditions" | ||
weight: 1 | ||
description: > | ||
These are classes used to describe what needs to be waited for. | ||
--- | ||
|
||
Expected Conditions are used with [Explicit Waits]({{< ref "../waits#explicit-waits" >}}). | ||
Instead of defining the block of code to be executed with a _lambda_, an expected | ||
conditions method can be created to represent common things that get waited on. Some | ||
methods take locators as arguments, others take elements as arguments. | ||
|
||
These methods can include conditions such as: | ||
|
||
* element exists | ||
* element is stale | ||
* element is visible | ||
* text is visible | ||
* title contains specified value | ||
|
||
{{< tabpane text=true langEqualsHeader=true >}} | ||
{{% tab header="Java" %}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) | ||
{{< badge-code >}} | ||
{{% /tab %}} | ||
{{< tab header="Python" >}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.expected_conditions.html) | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
.NET stopped supporting Expected Conditions in Selenium 4 to minimize maintenance hassle and redundancy. | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
Ruby makes frequent use of blocks, procs and lambdas and does not need Expected Conditions classes | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
43 changes: 43 additions & 0 deletions
43
...s/content/documentation/webdriver/support_features/expected_conditions.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: "Waiting with Expected Conditions" | ||
linkTitle: "Expected Conditions" | ||
weight: 1 | ||
description: > | ||
These are classes used to describe what needs to be waited for. | ||
--- | ||
|
||
Expected Conditions are used with [Explicit Waits]({{< ref "../waits#explicit-waits" >}}). | ||
Instead of defining the block of code to be executed with a _lambda_, an expected | ||
conditions method can be created to represent common things that get waited on. Some | ||
methods take locators as arguments, others take elements as arguments. | ||
|
||
These methods can include conditions such as: | ||
|
||
* element exists | ||
* element is stale | ||
* element is visible | ||
* text is visible | ||
* title contains specified value | ||
|
||
{{< tabpane text=true langEqualsHeader=true >}} | ||
{{% tab header="Java" %}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) | ||
{{< badge-code >}} | ||
{{% /tab %}} | ||
{{< tab header="Python" >}} | ||
[Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.expected_conditions.html) | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
.NET stopped supporting Expected Conditions in Selenium 4 to minimize maintenance hassle and redundancy. | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
Ruby makes frequent use of blocks, procs and lambdas and does not need Expected Conditions classes | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-code >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
Oops, something went wrong.