File tree 4 files changed +13
-16
lines changed
website_and_docs/content/documentation/webdriver/interactions
4 files changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,8 @@ WebDriver can get the text from the popup and accept or dismiss these
25
25
alerts.
26
26
27
27
{{< tabpane langEqualsHeader=true >}}
28
- {{< badge-examples >}}
29
28
{{< tab header="Java" text=true >}}
30
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L56 " >}}
29
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L57 " >}}
31
30
{{< /tab >}}
32
31
33
32
{{< tab header="Python" text=true >}}
@@ -77,9 +76,8 @@ a sample confirm</a>.
77
76
This example also shows a different approach to storing an alert:
78
77
79
78
{{< tabpane langEqualsHeader=true >}}
80
- {{< badge-examples >}}
81
79
{{< tab header="Java" text=true >}}
82
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L71 " >}}
80
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L72 " >}}
83
81
{{< /tab >}}
84
82
85
83
{{< tab header="Python" text=true >}}
@@ -137,9 +135,8 @@ See a sample prompt</a>.
137
135
138
136
139
137
{{< tabpane langEqualsHeader=true >}}
140
- {{< badge-examples >}}
141
- {{< tab header="Java" text=true >}}
142
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L87" >}}
138
+ {{< tab header="Java" text=true >}}
139
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L88" >}}
143
140
{{< /tab >}}
144
141
145
142
{{< tab header="Python" text=true >}}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ WebDriverはポップアップからテキストを取得し、これらのア
22
22
23
23
{{< tabpane langEqualsHeader=true >}}
24
24
{{< tab header="Java" text=true >}}
25
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L56 " >}}
25
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L57 " >}}
26
26
{{< /tab >}}
27
27
28
28
{{< tab header="Python" text=true >}}
@@ -72,7 +72,7 @@ alert.accept()
72
72
73
73
{{< tabpane langEqualsHeader=true >}}
74
74
{{< tab header="Java" text=true >}}
75
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L71 " >}}
75
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L72 " >}}
76
76
{{< /tab >}}
77
77
78
78
{{< tab header="Python" text=true >}}
@@ -129,7 +129,7 @@ alert.dismiss()
129
129
130
130
{{< tabpane langEqualsHeader=true >}}
131
131
{{< tab header="Java" text=true >}}
132
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L87 " >}}
132
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L88 " >}}
133
133
{{< /tab >}}
134
134
135
135
{{< tab header="Python" text=true >}}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ alertas.
26
26
27
27
{{< tabpane langEqualsHeader=true >}}
28
28
{{< tab header="Java" text=true >}}
29
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L56 " >}}
29
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L57 " >}}
30
30
{{< /tab >}}
31
31
{{< tab header="Python" text=true >}}
32
32
{{< gh-codeblock path="examples/python/tests/interactions/test_alerts.py#L12-L18" >}}
@@ -63,7 +63,7 @@ Este exemplo também mostra uma abordagem diferente para armazenar um alerta:
63
63
64
64
{{< tabpane langEqualsHeader=true >}}
65
65
{{< tab header="Java" text=true >}}
66
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L71 " >}}
66
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L72 " >}}
67
67
{{< /tab >}}
68
68
69
69
{{< tab header="Python" text=true >}}
@@ -122,7 +122,7 @@ Veja um exemplo de prompt </a>.
122
122
123
123
{{< tabpane langEqualsHeader=true >}}
124
124
{{< tab header="Java" text=true >}}
125
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L87 " >}}
125
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L88 " >}}
126
126
{{< /tab >}}
127
127
128
128
{{< tab header="Python" text=true >}}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ WebDriver可以从弹窗获取文本并接受或关闭这些警告.
19
19
20
20
{{< tabpane langEqualsHeader=true >}}
21
21
{{< tab header="Java" text=true >}}
22
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L56 " >}}
22
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L51-L57 " >}}
23
23
{{< /tab >}}
24
24
25
25
{{< tab header="Python" text=true >}}
@@ -68,7 +68,7 @@ alert.accept()
68
68
69
69
{{< tabpane langEqualsHeader=true >}}
70
70
{{< tab header="Java" text=true >}}
71
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L71 " >}}
71
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L66-L72 " >}}
72
72
{{< /tab >}}
73
73
74
74
{{< tab header="Python" text=true >}}
@@ -124,7 +124,7 @@ alert.dismiss()
124
124
125
125
{{< tabpane langEqualsHeader=true >}}
126
126
{{< tab header="Java" text=true >}}
127
- {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L87 " >}}
127
+ {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/AlertsTest.java#L80-L88 " >}}
128
128
{{< /tab >}}
129
129
130
130
{{< tab header="Python" text=true >}}
You can’t perform that action at this time.
0 commit comments