File tree Expand file tree Collapse file tree 16 files changed +638
-1635
lines changed
website_and_docs/content/documentation/webdriver Expand file tree Collapse file tree 16 files changed +638
-1635
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ There are only 5 basic commands that can be executed on an element:
1414* [ send keys] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
1515* [ clear] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
1616* submit (only applies to form elements)
17- * select (see [ Select List Elements] ({{< ref "select_lists.md" >}}))
17+ * select (see [ Select List Elements] ({{< ref "select_lists.md" >}})
1818
1919## Additional validations
2020
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ There are only 5 basic commands that can be executed on an element:
1212* [ send keys] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
1313* [ clear] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
1414* submit (only applies to form elements)
15- * select (see [ Select List Elements] ({{< ref "select_lists.md" >}}))
15+ * select (see [ Select List Elements] ({{< ref "select_lists.md" >}})
1616
1717## Additional validations
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ There are only 5 basic commands that can be executed on an element:
1212* [ send keys] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
1313* [ clear] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
1414* submit (only applies to form elements)
15- * select (see [ Select List Elements] ({{< ref "select_lists.md" >}}))
15+ * select (see [ Select List Elements] ({{< ref "select_lists.md" >}})
1616
1717## Additional validations
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ description: >
1212* [ 发送键位] ( https://w3c.github.io/webdriver/#element-send-keys ) (仅适用于文本字段和内容可编辑元素)
1313* [ 清除] ( https://w3c.github.io/webdriver/#element-send-keys ) (仅适用于文本字段和内容可编辑元素)
1414* 提交 (仅适用于表单元素)
15- * 选择 (参见 [ 选择列表元素] ({{< ref "select_lists.md" >}}))
15+ * 选择 (参见 [ 选择列表元素] ({{< ref "select_lists.md" >}})
1616
1717## 附加验证
1818
Original file line number Diff line number Diff line change 11---
22title : " Working With Colors"
33linkTitle : " Colors"
4- weight : 1
4+ weight : 3
55aliases : [
66" /documentation/en/support_packages/working_with_colours/" ,
77" /documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 11---
22title : " 色を扱う"
33linkTitle : " 色を扱う"
4- weight : 1
4+ weight : 3
55aliases : [
66" /documentation/ja/support_packages/working_with_colours/" ,
77" /ja/documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 11---
22title : " Trabalhando com cores"
33linkTitle : " Trabalhando com cores"
4- weight : 1
4+ weight : 3
55aliases : [
66" /documentation/pt-br/support_packages/working_with_colours/" ,
77" /pt-br/documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 11---
22title : " 同颜色一起工作"
33linkTitle : " 颜色"
4- weight : 1
4+ weight : 3
55aliases : [
66" /documentation/zh-cn/support_packages/working_with_colours/" ,
77" /zh-cn/documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 1+ ---
2+ title : " Waiting with Expected Conditions"
3+ linkTitle : " Expected Conditions"
4+ weight : 1
5+ description : >
6+ These are classes used to describe what needs to be waited for.
7+ ---
8+
9+ Expected Conditions are used with [ Explicit Waits] ({{< ref "../waits#explicit-waits" >}}).
10+ Instead of defining the block of code to be executed with a _ lambda_ , an expected
11+ conditions method can be created to represent common things that get waited on. Some
12+ methods take locators as arguments, others take elements as arguments.
13+
14+ These methods can include conditions such as:
15+
16+ * element exists
17+ * element is stale
18+ * element is visible
19+ * text is visible
20+ * title contains specified value
21+
22+ {{< tabpane text=true langEqualsHeader=true >}}
23+ {{% tab header="Java" %}}
24+ [ Expected Conditions Documentation] ( https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html )
25+ {{< badge-code >}}
26+ {{% /tab %}}
27+ {{< tab header="Python" >}}
28+ [ Expected Conditions Documentation] ( https://www.selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.expected_conditions.html )
29+ {{< badge-code >}}
30+ {{< /tab >}}
31+ {{< tab header="CSharp" >}}
32+ .NET stopped supporting Expected Conditions in Selenium 4 to minimize maintenance hassle and redundancy.
33+ {{< /tab >}}
34+ {{< tab header="Ruby" >}}
35+ Ruby makes frequent use of blocks, procs and lambdas and does not need Expected Conditions classes
36+ {{< /tab >}}
37+ {{< tab header="JavaScript" >}}
38+ {{< badge-code >}}
39+ {{< /tab >}}
40+ {{< tab header="Kotlin" >}}
41+ {{< badge-code >}}
42+ {{< /tab >}}
43+ {{< /tabpane >}}
Original file line number Diff line number Diff line change 1+ ---
2+ title : " Waiting with Expected Conditions"
3+ linkTitle : " Expected Conditions"
4+ weight : 1
5+ description : >
6+ These are classes used to describe what needs to be waited for.
7+ ---
8+
9+ Expected Conditions are used with [ Explicit Waits] ({{< ref "../waits#explicit-waits" >}}).
10+ Instead of defining the block of code to be executed with a _ lambda_ , an expected
11+ conditions method can be created to represent common things that get waited on. Some
12+ methods take locators as arguments, others take elements as arguments.
13+
14+ These methods can include conditions such as:
15+
16+ * element exists
17+ * element is stale
18+ * element is visible
19+ * text is visible
20+ * title contains specified value
21+
22+ {{< tabpane text=true langEqualsHeader=true >}}
23+ {{% tab header="Java" %}}
24+ [ Expected Conditions Documentation] ( https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html )
25+ {{< badge-code >}}
26+ {{% /tab %}}
27+ {{< tab header="Python" >}}
28+ [ Expected Conditions Documentation] ( https://www.selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.expected_conditions.html )
29+ {{< badge-code >}}
30+ {{< /tab >}}
31+ {{< tab header="CSharp" >}}
32+ .NET stopped supporting Expected Conditions in Selenium 4 to minimize maintenance hassle and redundancy.
33+ {{< /tab >}}
34+ {{< tab header="Ruby" >}}
35+ Ruby makes frequent use of blocks, procs and lambdas and does not need Expected Conditions classes
36+ {{< /tab >}}
37+ {{< tab header="JavaScript" >}}
38+ {{< badge-code >}}
39+ {{< /tab >}}
40+ {{< tab header="Kotlin" >}}
41+ {{< badge-code >}}
42+ {{< /tab >}}
43+ {{< /tabpane >}}
You can’t perform that action at this time.
0 commit comments