Skip to content

Commit e4b258f

Browse files
committed
[js] fix line numbers [deploy site]
1 parent 537fe55 commit e4b258f

File tree

15 files changed

+17
-12
lines changed

15 files changed

+17
-12
lines changed

examples/javascript/test/browser/chromeSpecificCaps.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ const Chrome = require('selenium-webdriver/chrome');
22
const { Browser, Builder } = require("selenium-webdriver");
33
const options = new Chrome.Options();
44

5+
6+
57
describe('Should be able to Test Command line arguments', function () {
68
it('headless', async function () {
79
let driver = new Builder()

examples/javascript/test/browser/edgeSpecificCaps.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const options = new edge.Options();
44
const assert = require("assert");
55

66

7+
78
describe('Should be able to Test Command line arguments', function () {
89
it('headless', async function () {
910
let driver = new Builder()

examples/javascript/test/getting_started/openEdgeTest.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const edge = require('selenium-webdriver/edge');
55
describe('Open Edge', function () {
66
let driver;
77

8+
9+
810
before(async function () {
911
let options = new edge.Options();
1012
driver = new Builder()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Set excluded arguments on options:
178178
{{< gh-codeblock path="/examples/ruby/spec/browsers/edge_spec.rb#L53" >}}
179179
{{< /tab >}}
180180
{{< tab header="JavaScript" >}}
181-
{{< gh-codeblock path="/examples/javascript/test/getting_started/openEdgeTest.spec.js#L20-L23">}}
181+
{{< gh-codeblock path="/examples/javascript/test/browser/edgeSpecificCaps.spec.js#L22">}}
182182
{{< /tab >}}
183183
{{< tab header="Kotlin" >}}
184184
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ MSEdgedriverには、ブラウザを起動するために使用されるいく
170170
{{< gh-codeblock path="/examples/ruby/spec/browsers/edge_spec.rb#L53" >}}
171171
{{< /tab >}}
172172
{{< tab header="JavaScript" >}}
173-
{{< gh-codeblock path="/examples/javascript/test/getting_started/openEdgeTest.spec.js#L20-L23">}}
173+
{{< gh-codeblock path="/examples/javascript/test/browser/edgeSpecificCaps.spec.js#L22">}}
174174
{{< /tab >}}
175175
{{< tab header="Kotlin" >}}
176176
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Set excluded arguments on options:
180180
{{< gh-codeblock path="/examples/ruby/spec/browsers/edge_spec.rb#L53" >}}
181181
{{< /tab >}}
182182
{{< tab header="JavaScript" >}}
183-
{{< gh-codeblock path="/examples/javascript/test/getting_started/openEdgeTest.spec.js#L20-L23">}}
183+
{{< gh-codeblock path="/examples/javascript/test/browser/edgeSpecificCaps.spec.js#L22">}}
184184
{{< /tab >}}
185185
{{< tab header="Kotlin" >}}
186186
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Set excluded arguments on options:
180180
{{< gh-codeblock path="/examples/ruby/spec/browsers/edge_spec.rb#L53" >}}
181181
{{< /tab >}}
182182
{{< tab header="JavaScript" >}}
183-
{{< gh-codeblock path="/examples/javascript/test/getting_started/openEdgeTest.spec.js#L20-L23">}}
183+
{{< gh-codeblock path="/examples/javascript/test/browser/edgeSpecificCaps.spec.js#L22">}}
184184
{{< /tab >}}
185185
{{< tab header="Kotlin" >}}
186186
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Add an argument to options:
6161
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L17" >}}
6262
{{< /tab >}}
6363
{{< tab header="JavaScript" >}}
64-
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12-L14">}}
64+
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12">}}
6565
{{< /tab >}}
6666
{{< tab header="Kotlin" >}}
6767
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Firefox に固有のCapabilityは、Mozilla のページの [firefoxOptions](htt
6464
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L17" >}}
6565
{{< /tab >}}
6666
{{< tab header="JavaScript" >}}
67-
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12-L14">}}
67+
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12">}}
6868
{{< /tab >}}
6969
{{< tab header="Kotlin" >}}
7070
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Adicione uma opção:
6363
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L17" >}}
6464
{{< /tab >}}
6565
{{< tab header="JavaScript" >}}
66-
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12-L14">}}
66+
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12">}}
6767
{{< /tab >}}
6868
{{< tab header="Kotlin" >}}
6969
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Add an argument to options:
6363
{{< gh-codeblock path="/examples/ruby/spec/browsers/firefox_spec.rb#L17" >}}
6464
{{< /tab >}}
6565
{{< tab header="JavaScript" >}}
66-
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12-L14">}}
66+
{{< gh-codeblock path="/examples/javascript/test/browser/firefoxSpecificFunctionalities.spec.js#L12">}}
6767
{{< /tab >}}
6868
{{< tab header="Kotlin" >}}
6969
{{< badge-code >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Starting a Safari session with basic defined options looks like this:
3939
{{< gh-codeblock path="/examples/ruby/spec/browsers/safari_spec.rb#L8-L9" >}}
4040
{{< /tab >}}
4141
{{< tab header="JavaScript" text=true >}}
42-
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L10-L12" >}}
42+
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L8-L11" >}}
4343
{{< /tab >}}
4444
{{< tab header="Kotlin" >}}
4545
val options = SafariOptions()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Starting a Safari session with basic defined options looks like this:
3838
{{< gh-codeblock path="/examples/ruby/spec/browsers/safari_spec.rb#L8-L9" >}}
3939
{{< /tab >}}
4040
{{< tab header="JavaScript" text=true >}}
41-
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L10-L12" >}}
41+
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L8-L11" >}}
4242
{{< /tab >}}
4343
{{< tab header="Kotlin" >}}
4444
val options = SafariOptions()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Este é um exemplo de como iniciar uma sessão Safari com um conjunto de opçõe
3838
{{< gh-codeblock path="/examples/ruby/spec/browsers/safari_spec.rb#L8-L9" >}}
3939
{{< /tab >}}
4040
{{< tab header="JavaScript" text=true >}}
41-
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L10-L12" >}}
41+
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L8-L11" >}}
4242
{{< /tab >}}
4343
{{< tab header="Kotlin" >}}
4444
val options = SafariOptions()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Safari独有的Capabilities可以在Apple的页面[关于Safari的WebDriver](htt
3838
{{< gh-codeblock path="/examples/ruby/spec/browsers/safari_spec.rb#L8-L9" >}}
3939
{{< /tab >}}
4040
{{< tab header="JavaScript" text=true >}}
41-
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L10-L12" >}}
41+
{{< gh-codeblock path="/examples/javascript/test/browser/safariSpecificCap.spec.js#L8-L11" >}}
4242
{{< /tab >}}
4343
{{< tab header="Kotlin" >}}
4444
val options = SafariOptions()

0 commit comments

Comments
 (0)