File tree Expand file tree Collapse file tree 4 files changed +13
-16
lines changed
website_and_docs/content/documentation/webdriver/interactions Expand file tree Collapse file tree 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
2525alerts.
2626
2727{{< tabpane langEqualsHeader=true >}}
28- {{< badge-examples >}}
2928{{< 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 " >}}
3130{{< /tab >}}
3231
3332{{< tab header="Python" text=true >}}
@@ -77,9 +76,8 @@ a sample confirm</a>.
7776This example also shows a different approach to storing an alert:
7877
7978{{< tabpane langEqualsHeader=true >}}
80- {{< badge-examples >}}
8179 {{< 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 " >}}
8381{{< /tab >}}
8482
8583{{< tab header="Python" text=true >}}
@@ -137,9 +135,8 @@ See a sample prompt</a>.
137135
138136
139137{{< 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" >}}
143140{{< /tab >}}
144141
145142{{< tab header="Python" text=true >}}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ WebDriverはポップアップからテキストを取得し、これらのア
2222
2323{{< tabpane langEqualsHeader=true >}}
2424 {{< 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 " >}}
2626{{< /tab >}}
2727
2828{{< tab header="Python" text=true >}}
@@ -72,7 +72,7 @@ alert.accept()
7272
7373{{< tabpane langEqualsHeader=true >}}
7474 {{< 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 " >}}
7676{{< /tab >}}
7777
7878{{< tab header="Python" text=true >}}
@@ -129,7 +129,7 @@ alert.dismiss()
129129
130130{{< tabpane langEqualsHeader=true >}}
131131 {{< 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 " >}}
133133{{< /tab >}}
134134
135135{{< tab header="Python" text=true >}}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ alertas.
2626
2727{{< tabpane langEqualsHeader=true >}}
2828 {{< 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 " >}}
3030{{< /tab >}}
3131{{< tab header="Python" text=true >}}
3232{{< 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:
6363
6464{{< tabpane langEqualsHeader=true >}}
6565 {{< 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 " >}}
6767{{< /tab >}}
6868
6969{{< tab header="Python" text=true >}}
@@ -122,7 +122,7 @@ Veja um exemplo de prompt </a>.
122122
123123{{< tabpane langEqualsHeader=true >}}
124124 {{< 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 " >}}
126126{{< /tab >}}
127127
128128{{< tab header="Python" text=true >}}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ WebDriver可以从弹窗获取文本并接受或关闭这些警告.
1919
2020{{< tabpane langEqualsHeader=true >}}
2121 {{< 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 " >}}
2323{{< /tab >}}
2424
2525{{< tab header="Python" text=true >}}
@@ -68,7 +68,7 @@ alert.accept()
6868
6969{{< tabpane langEqualsHeader=true >}}
7070 {{< 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 " >}}
7272{{< /tab >}}
7373
7474{{< tab header="Python" text=true >}}
@@ -124,7 +124,7 @@ alert.dismiss()
124124
125125{{< tabpane langEqualsHeader=true >}}
126126 {{< 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 " >}}
128128{{< /tab >}}
129129
130130{{< tab header="Python" text=true >}}
You can’t perform that action at this time.
0 commit comments