Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update wait documentation #1358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
harsha509 merged 3 commits into trunk from waits
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ There are only 5 basic commands that can be executed on an element:
* [send keys](https://w3c.github.io/webdriver/#element-send-keys) (only applies to text fields and content editable elements)
* [clear](https://w3c.github.io/webdriver/#element-send-keys) (only applies to text fields and content editable elements)
* submit (only applies to form elements)
* select (see [Select List Elements]({{< ref "select_lists.md" >}}))
* select (see [Select List Elements]({{< ref "select_lists.md" >}})

## Additional validations

Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There are only 5 basic commands that can be executed on an element:
* [send keys](https://w3c.github.io/webdriver/#element-send-keys) (only applies to text fields and content editable elements)
* [clear](https://w3c.github.io/webdriver/#element-send-keys) (only applies to text fields and content editable elements)
* submit (only applies to form elements)
* select (see [Select List Elements]({{< ref "select_lists.md" >}}))
* select (see [Select List Elements]({{< ref "select_lists.md" >}})

## Additional validations

Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There are only 5 basic commands that can be executed on an element:
* [send keys](https://w3c.github.io/webdriver/#element-send-keys) (only applies to text fields and content editable elements)
* [clear](https://w3c.github.io/webdriver/#element-send-keys) (only applies to text fields and content editable elements)
* submit (only applies to form elements)
* select (see [Select List Elements]({{< ref "select_lists.md" >}}))
* select (see [Select List Elements]({{< ref "select_lists.md" >}})

## Additional validations

Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: >
* [发送键位](https://w3c.github.io/webdriver/#element-send-keys) (仅适用于文本字段和内容可编辑元素)
* [清除](https://w3c.github.io/webdriver/#element-send-keys) (仅适用于文本字段和内容可编辑元素)
* 提交 (仅适用于表单元素)
* 选择 (参见 [选择列表元素]({{< ref "select_lists.md" >}}))
* 选择 (参见 [选择列表元素]({{< ref "select_lists.md" >}})

## 附加验证

Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Working With Colors"
linkTitle: "Colors"
weight: 1
weight: 3
aliases: [
"/documentation/en/support_packages/working_with_colours/",
"/documentation/support_packages/working_with_colours/",
Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "色を扱う"
linkTitle: "色を扱う"
weight: 1
weight: 3
aliases: [
"/documentation/ja/support_packages/working_with_colours/",
"/ja/documentation/support_packages/working_with_colours/",
Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Trabalhando com cores"
linkTitle: "Trabalhando com cores"
weight: 1
weight: 3
aliases: [
"/documentation/pt-br/support_packages/working_with_colours/",
"/pt-br/documentation/support_packages/working_with_colours/",
Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "同颜色一起工作"
linkTitle: "颜色"
weight: 1
weight: 3
aliases: [
"/documentation/zh-cn/support_packages/working_with_colours/",
"/zh-cn/documentation/support_packages/working_with_colours/",
Expand Down
View file Open in desktop
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 >}}
View file Open in desktop
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 >}}
View file Open in desktop
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 >}}
View file Open in desktop
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 >}}
Loading

AltStyle によって変換されたページ (->オリジナル) /