@@ -40,7 +40,7 @@ Browser name is set by default when using an Options class instance.
40
40
{{< badge-code >}}
41
41
{{< /tab >}}
42
42
{{< tab header="Ruby" >}}
43
- {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L10 " >}}
43
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L11 " >}}
44
44
{{< /tab >}}
45
45
{{< tab header="JavaScript" >}}
46
46
{{< badge-code >}}
@@ -68,7 +68,7 @@ it will be automatically downloaded by [Selenium Manager]({{< ref "../../seleniu
68
68
{{< badge-code >}}
69
69
{{< /tab >}}
70
70
{{< tab header="Ruby" >}}
71
- {{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L35 " >}}
71
+ {{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L40 " >}}
72
72
{{< /tab >}}
73
73
{{< tab header="JavaScript" >}}
74
74
{{< badge-code >}}
@@ -137,7 +137,7 @@ namespace pageLoadStrategy {
137
137
}
138
138
{{< /tab >}}
139
139
{{< tab header="Ruby" text=true >}}
140
- {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L10- L11">}}
140
+ {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L11-L12 ">}}
141
141
{{< /tab >}}
142
142
{{< tab header="JavaScript" text=true >}}
143
143
{{< gh-codeblock path="/examples/javascript/test/capabilities/pageLoading.spec.js#L28-L34">}}
@@ -193,7 +193,7 @@ namespace pageLoadStrategy {
193
193
}
194
194
{{< /tab >}}
195
195
{{< tab header="Ruby" text=true >}}
196
- {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L19- L20">}}
196
+ {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L20-L21 ">}}
197
197
{{< /tab >}}
198
198
{{< tab header="JavaScript" text=true >}}
199
199
{{< gh-codeblock path="/examples/javascript/test/capabilities/pageLoading.spec.js#L8-L14">}}
@@ -248,7 +248,7 @@ namespace pageLoadStrategy {
248
248
}
249
249
{{< /tab >}}
250
250
{{< tab header="Ruby" text=true >}}
251
- {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L28- L29">}}
251
+ {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L29-L30 ">}}
252
252
{{< /tab >}}
253
253
{{< tab header="JavaScript" text=true >}}
254
254
{{< gh-codeblock path="/examples/javascript/test/capabilities/pageLoading.spec.js#L18-L24">}}
@@ -290,7 +290,7 @@ fun main() {
290
290
{{< badge-code >}}
291
291
{{< /tab >}}
292
292
{{< tab header="Ruby" >}}
293
- {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L37- L38" >}}
293
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L38-L39 " >}}
294
294
{{< /tab >}}
295
295
{{< tab header="JavaScript" >}}
296
296
{{< badge-code >}}
@@ -322,7 +322,7 @@ fun main() {
322
322
{{< badge-code >}}
323
323
{{< /tab >}}
324
324
{{< tab header="Ruby" >}}
325
- {{< badge-code >}}
325
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L51-L52" >}}
326
326
{{< /tab >}}
327
327
{{< tab header="JavaScript" >}}
328
328
{{< badge-code >}}
@@ -354,7 +354,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ
354
354
{{< badge-code >}}
355
355
{{< /tab >}}
356
356
{{< tab header="Ruby" >}}
357
- {{< badge-code >}}
357
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L114-L115" >}}
358
358
{{< /tab >}}
359
359
{{< tab header="JavaScript" >}}
360
360
{{< badge-code >}}
@@ -380,7 +380,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ
380
380
{{< badge-code >}}
381
381
{{< /tab >}}
382
382
{{< tab header="Ruby" >}}
383
- {{< badge-code >}}
383
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L105-L106" >}}
384
384
{{< /tab >}}
385
385
{{< tab header="JavaScript" >}}
386
386
{{< badge-code >}}
@@ -405,7 +405,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ
405
405
{{< badge-code >}}
406
406
{{< /tab >}}
407
407
{{< tab header="Ruby" >}}
408
- {{< badge-code >}}
408
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L96-L97" >}}
409
409
{{< /tab >}}
410
410
{{< tab header="JavaScript" >}}
411
411
{{< badge-code >}}
@@ -442,7 +442,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ
442
442
{{< badge-code >}}
443
443
{{< /tab >}}
444
444
{{< tab header="Ruby" >}}
445
- {{< badge-code >}}
445
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L60-L61" >}}
446
446
{{< /tab >}}
447
447
{{< tab header="JavaScript" >}}
448
448
{{< badge-code >}}
@@ -468,7 +468,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ
468
468
{{< badge-code >}}
469
469
{{< /tab >}}
470
470
{{< tab header="Ruby" >}}
471
- {{< badge-code >}}
471
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L69-L70" >}}
472
472
{{< /tab >}}
473
473
{{< tab header="JavaScript" >}}
474
474
{{< badge-code >}}
@@ -495,7 +495,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ
495
495
{{< badge-code >}}
496
496
{{< /tab >}}
497
497
{{< tab header="Ruby" >}}
498
- {{< badge-code >}}
498
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L78-L79" >}}
499
499
{{< /tab >}}
500
500
{{< tab header="JavaScript" >}}
501
501
{{< badge-code >}}
@@ -577,13 +577,7 @@ driver.Navigate().GoToUrl("https://www.selenium.dev/");
577
577
}
578
578
{{< /tab >}}
579
579
{{< tab header="Ruby" >}}
580
- # this code was written with Selenium 4
581
-
582
- proxy = Selenium::WebDriver::Proxy.new(http: '< HOST:PORT > ')
583
- cap = Selenium::WebDriver::Remote::Capabilities.chrome(proxy: proxy)
584
-
585
- driver = Selenium::WebDriver.for(: chrome , capabilities: cap)
586
- driver.get('http://google.com ')
580
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L87-L88" >}}
587
581
{{< /tab >}}
588
582
{{< tab header="JavaScript" >}}
589
583
let webdriver = require('selenium-webdriver');
0 commit comments