Skip to content

Commit 26c0fee

Browse files
authored
Fix incorrect line no. in Firefox Add-ons examples (SeleniumHQ#1261)
[deploy site]
1 parent 36d2ccd commit 26c0fee

File tree

4 files changed

+36
-36
lines changed

4 files changed

+36
-36
lines changed

website_and_docs/content/documentation/webdriver/browsers/firefox.en.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla
128128

129129
{{< tabpane code=false langEqualsHeader=true >}}
130130
{{< tab header="Java" >}}
131-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L38-L39" >}}
131+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L31-L32" >}}
132132
{{< /tab >}}
133133
{{< tab header="Python" >}}
134-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L20-L21" >}}
134+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L17-L18" >}}
135135
{{< /tab >}}
136136
{{< tab header="CSharp" >}}
137-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L40-L42" >}}
137+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L32-L34" >}}
138138
{{< /tab >}}
139139
{{< tab header="Ruby" >}}
140140
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L15-L16" >}}
@@ -153,14 +153,14 @@ Uninstalling an addon requires knowing its id. The id can be obtained from the r
153153

154154
{{< tabpane code=false langEqualsHeader=true >}}
155155
{{< tab header="Java" >}}
156-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L49-L51" >}}
156+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L42-L44" >}}
157157
{{< /tab >}}
158158
{{< tab header="Python" >}}
159-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L32-L34" >}}
159+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L29-L31" >}}
160160
{{< /tab >}}
161161
{{< tab header="CSharp" >}}
162162
{{< badge-version version="4.5" >}}
163-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L55-L58" >}}
163+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L47-L50" >}}
164164
{{< /tab >}}
165165
{{< tab header="Ruby" >}}
166166
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L24-L26" >}}
@@ -181,14 +181,14 @@ example with a directory:
181181

182182
{{< tabpane code=false langEqualsHeader=true >}}
183183
{{< tab header="Java" >}}
184-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L60-L61" >}}
184+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L53-L54" >}}
185185
{{< /tab >}}
186186
{{< tab header="Python" >}}
187-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L43-L44" >}}
187+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L40-L41" >}}
188188
{{< /tab >}}
189189
{{< tab header="CSharp" >}}
190190
{{< badge-version version="4.5" >}}
191-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L69-L71" >}}
191+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L61-L63" >}}
192192
{{< /tab >}}
193193
{{< tab header="Ruby" >}}
194194
{{< badge-version version="4.5" >}}

website_and_docs/content/documentation/webdriver/browsers/firefox.ja.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ Chromeとは異なり、Firefoxの拡張機能はCapabilityの一部として追
132132

133133
{{< tabpane code=false langEqualsHeader=true >}}
134134
{{< tab header="Java" >}}
135-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L38-L39" >}}
135+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L31-L32" >}}
136136
{{< /tab >}}
137137
{{< tab header="Python" >}}
138-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L20-L21" >}}
138+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L17-L18" >}}
139139
{{< /tab >}}
140140
{{< tab header="CSharp" >}}
141-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L40-L42" >}}
141+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L32-L34" >}}
142142
{{< /tab >}}
143143
{{< tab header="Ruby" >}}
144144
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L15-L16" >}}
@@ -158,14 +158,14 @@ IDはアドオンインストール時の戻り値から取得できます。
158158

159159
{{< tabpane code=false langEqualsHeader=true >}}
160160
{{< tab header="Java" >}}
161-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L49-L51" >}}
161+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L42-L44" >}}
162162
{{< /tab >}}
163163
{{< tab header="Python" >}}
164-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L32-L34" >}}
164+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L29-L31" >}}
165165
{{< /tab >}}
166166
{{< tab header="CSharp" >}}
167167
{{< badge-version version="4.5" >}}
168-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L55-L58" >}}
168+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L47-L50" >}}
169169
{{< /tab >}}
170170
{{< tab header="Ruby" >}}
171171
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L24-L26" >}}
@@ -186,14 +186,14 @@ IDはアドオンインストール時の戻り値から取得できます。
186186

187187
{{< tabpane code=false langEqualsHeader=true >}}
188188
{{< tab header="Java" >}}
189-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L60-L61" >}}
189+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L53-L54" >}}
190190
{{< /tab >}}
191191
{{< tab header="Python" >}}
192-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L43-L44" >}}
192+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L40-L41" >}}
193193
{{< /tab >}}
194194
{{< tab header="CSharp" >}}
195195
{{< badge-version version="4.5" >}}
196-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L69-L71" >}}
196+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L61-L63" >}}
197197
{{< /tab >}}
198198
{{< tab header="Ruby" >}}
199199
{{< badge-version version="4.5" >}}

website_and_docs/content/documentation/webdriver/browsers/firefox.pt-br.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ Um arquivo xpi que pode ser obtido da [página Mozilla Extras](https://addons.mo
131131

132132
{{< tabpane code=false langEqualsHeader=true >}}
133133
{{< tab header="Java" >}}
134-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L38-L39" >}}
134+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L31-L32" >}}
135135
{{< /tab >}}
136136
{{< tab header="Python" >}}
137-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L20-L21" >}}
137+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L17-L18" >}}
138138
{{< /tab >}}
139139
{{< tab header="CSharp" >}}
140-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L40-L42" >}}
140+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L32-L34" >}}
141141
{{< /tab >}}
142142
{{< tab header="Ruby" >}}
143143
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L15-L16" >}}
@@ -156,14 +156,14 @@ Desinstalar uma extensão implica saber o seu id que pode ser obtido como valor
156156

157157
{{< tabpane code=false langEqualsHeader=true >}}
158158
{{< tab header="Java" >}}
159-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L49-L51" >}}
159+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L42-L44" >}}
160160
{{< /tab >}}
161161
{{< tab header="Python" >}}
162-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L32-L34" >}}
162+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L29-L31" >}}
163163
{{< /tab >}}
164164
{{< tab header="CSharp" >}}
165165
{{< badge-version version="4.5" >}}
166-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L55-L58" >}}
166+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L47-L50" >}}
167167
{{< /tab >}}
168168
{{< tab header="Ruby" >}}
169169
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L24-L26" >}}
@@ -184,14 +184,14 @@ uma pasta, este é um exemplo com uma pasta:
184184

185185
{{< tabpane code=false langEqualsHeader=true >}}
186186
{{< tab header="Java" >}}
187-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L60-L61" >}}
187+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L53-L54" >}}
188188
{{< /tab >}}
189189
{{< tab header="Python" >}}
190-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L43-L44" >}}
190+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L40-L41" >}}
191191
{{< /tab >}}
192192
{{< tab header="CSharp" >}}
193193
{{< badge-version version="4.5" >}}
194-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L69-L71" >}}
194+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L61-L63" >}}
195195
{{< /tab >}}
196196
{{< tab header="Ruby" >}}
197197
{{< badge-version version="4.5" >}}

website_and_docs/content/documentation/webdriver/browsers/firefox.zh-cn.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla
130130

131131
{{< tabpane code=false langEqualsHeader=true >}}
132132
{{< tab header="Java" >}}
133-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L38-L39" >}}
133+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L31-L32" >}}
134134
{{< /tab >}}
135135
{{< tab header="Python" >}}
136-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L20-L21" >}}
136+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L17-L18" >}}
137137
{{< /tab >}}
138138
{{< tab header="CSharp" >}}
139-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L40-L42" >}}
139+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L32-L34" >}}
140140
{{< /tab >}}
141141
{{< tab header="Ruby" >}}
142142
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L15-L16" >}}
@@ -155,14 +155,14 @@ Uninstalling an addon requires knowing its id. The id can be obtained from the r
155155

156156
{{< tabpane code=false langEqualsHeader=true >}}
157157
{{< tab header="Java" >}}
158-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L49-L51" >}}
158+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L42-L44" >}}
159159
{{< /tab >}}
160160
{{< tab header="Python" >}}
161-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L32-L34" >}}
161+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L29-L31" >}}
162162
{{< /tab >}}
163163
{{< tab header="CSharp" >}}
164164
{{< badge-version version="4.5" >}}
165-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L55-L58" >}}
165+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L47-L50" >}}
166166
{{< /tab >}}
167167
{{< tab header="Ruby" >}}
168168
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L24-L26" >}}
@@ -183,14 +183,14 @@ example with a directory:
183183

184184
{{< tabpane code=false langEqualsHeader=true >}}
185185
{{< tab header="Java" >}}
186-
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L60-L61" >}}
186+
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L53-L54" >}}
187187
{{< /tab >}}
188188
{{< tab header="Python" >}}
189-
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L43-L44" >}}
189+
{{< gh-codeblock path="/examples/python/tests/browsers/test_firefox.py#L40-L41" >}}
190190
{{< /tab >}}
191191
{{< tab header="CSharp" >}}
192192
{{< badge-version version="4.5" >}}
193-
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L69-L71" >}}
193+
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs#L61-L63" >}}
194194
{{< /tab >}}
195195
{{< tab header="Ruby" >}}
196196
{{< badge-version version="4.5" >}}

0 commit comments

Comments
 (0)