File tree 16 files changed +638
-1635
lines changed
website_and_docs/content/documentation/webdriver
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:
14
14
* [ send keys] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
15
15
* [ clear] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
16
16
* 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" >}})
18
18
19
19
## Additional validations
20
20
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:
12
12
* [ send keys] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
13
13
* [ clear] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
14
14
* 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" >}})
16
16
17
17
## Additional validations
18
18
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:
12
12
* [ send keys] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
13
13
* [ clear] ( https://w3c.github.io/webdriver/#element-send-keys ) (only applies to text fields and content editable elements)
14
14
* 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" >}})
16
16
17
17
## Additional validations
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ description: >
12
12
* [ 发送键位] ( https://w3c.github.io/webdriver/#element-send-keys ) (仅适用于文本字段和内容可编辑元素)
13
13
* [ 清除] ( https://w3c.github.io/webdriver/#element-send-keys ) (仅适用于文本字段和内容可编辑元素)
14
14
* 提交 (仅适用于表单元素)
15
- * 选择 (参见 [ 选择列表元素] ({{< ref "select_lists.md" >}}))
15
+ * 选择 (参见 [ 选择列表元素] ({{< ref "select_lists.md" >}})
16
16
17
17
## 附加验证
18
18
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " Working With Colors"
3
3
linkTitle : " Colors"
4
- weight : 1
4
+ weight : 3
5
5
aliases : [
6
6
" /documentation/en/support_packages/working_with_colours/" ,
7
7
" /documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " 色を扱う"
3
3
linkTitle : " 色を扱う"
4
- weight : 1
4
+ weight : 3
5
5
aliases : [
6
6
" /documentation/ja/support_packages/working_with_colours/" ,
7
7
" /ja/documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " Trabalhando com cores"
3
3
linkTitle : " Trabalhando com cores"
4
- weight : 1
4
+ weight : 3
5
5
aliases : [
6
6
" /documentation/pt-br/support_packages/working_with_colours/" ,
7
7
" /pt-br/documentation/support_packages/working_with_colours/" ,
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " 同颜色一起工作"
3
3
linkTitle : " 颜色"
4
- weight : 1
4
+ weight : 3
5
5
aliases : [
6
6
" /documentation/zh-cn/support_packages/working_with_colours/" ,
7
7
" /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 >}}
Original file line number Diff line number Diff line change
1
+ [ expected_conditions.ja.md] ( expected_conditions.ja.md ) ---
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