@@ -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 >}}
@@ -67,7 +67,7 @@ it will be automatically downloaded by [Selenium Manager]({{< ref "../../seleniu
67
67
{{< badge-code >}}
68
68
{{< /tab >}}
69
69
{{< tab header="Ruby" >}}
70
- {{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L35 " >}}
70
+ {{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L40 " >}}
71
71
{{< /tab >}}
72
72
{{< tab header="JavaScript" >}}
73
73
{{< badge-code >}}
@@ -139,7 +139,7 @@ namespace pageLoadStrategy {
139
139
}
140
140
{{< /tab >}}
141
141
{{< tab header="Ruby" text=true >}}
142
- {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L10- L11">}}
142
+ {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L11-L12 ">}}
143
143
{{< /tab >}}
144
144
{{< tab header="JavaScript" text=true >}}
145
145
{{< gh-codeblock path="/examples/javascript/test/capabilities/pageLoading.spec.js#L28-L34">}}
@@ -196,7 +196,7 @@ namespace pageLoadStrategy {
196
196
}
197
197
{{< /tab >}}
198
198
{{< tab header="Ruby" text=true >}}
199
- {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L19- L20">}}
199
+ {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L20-L21 ">}}
200
200
{{< /tab >}}
201
201
{{< tab header="JavaScript" text=true >}}
202
202
{{< gh-codeblock path="/examples/javascript/test/capabilities/pageLoading.spec.js#L8-L14">}}
@@ -252,7 +252,7 @@ namespace pageLoadStrategy {
252
252
}
253
253
{{< /tab >}}
254
254
{{< tab header="Ruby" text=true >}}
255
- {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L28- L29">}}
255
+ {{< gh-codeblock path="/examples/ruby/spec/drivers/options_spec.rb#L29-L30 ">}}
256
256
{{< /tab >}}
257
257
{{< tab header="JavaScript" text=true >}}
258
258
{{< gh-codeblock path="/examples/javascript/test/capabilities/pageLoading.spec.js#L18-L24">}}
@@ -296,7 +296,7 @@ setting `platformName` sets the OS at the remote-end.
296
296
{{< badge-code >}}
297
297
{{< /tab >}}
298
298
{{< tab header="Ruby" >}}
299
- {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L37- L38" >}}
299
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L38-L39 " >}}
300
300
{{< /tab >}}
301
301
{{< tab header="JavaScript" >}}
302
302
{{< badge-code >}}
@@ -334,7 +334,7 @@ effect for the entire session.
334
334
{{< badge-code >}}
335
335
{{< /tab >}}
336
336
{{< tab header="Ruby" >}}
337
- {{< badge-code >}}
337
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L51-L52" >}}
338
338
{{< /tab >}}
339
339
{{< tab header="JavaScript" >}}
340
340
{{< badge-code >}}
@@ -369,7 +369,7 @@ is imposed when a new session is created by WebDriver.
369
369
{{< badge-code >}}
370
370
{{< /tab >}}
371
371
{{< tab header="Ruby" >}}
372
- {{< badge-code >}}
372
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L114-L115" >}}
373
373
{{< /tab >}}
374
374
{{< tab header="JavaScript" >}}
375
375
{{< badge-code >}}
@@ -398,7 +398,7 @@ _TimeoutException_.
398
398
{{< badge-code >}}
399
399
{{< /tab >}}
400
400
{{< tab header="Ruby" >}}
401
- {{< badge-code >}}
401
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L105-L106" >}}
402
402
{{< /tab >}}
403
403
{{< tab header="JavaScript" >}}
404
404
{{< badge-code >}}
@@ -425,7 +425,7 @@ is imposed when a new session is created by WebDriver.
425
425
{{< badge-code >}}
426
426
{{< /tab >}}
427
427
{{< tab header="Ruby" >}}
428
- {{< badge-code >}}
428
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L96-L97" >}}
429
429
{{< /tab >}}
430
430
{{< tab header="JavaScript" >}}
431
431
{{< badge-code >}}
@@ -463,7 +463,7 @@ user prompt encounters at the remote-end. This is defined by
463
463
{{< badge-code >}}
464
464
{{< /tab >}}
465
465
{{< tab header="Ruby" >}}
466
- {{< badge-code >}}
466
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L60-L61" >}}
467
467
{{< /tab >}}
468
468
{{< tab header="JavaScript" >}}
469
469
{{< badge-code >}}
@@ -488,7 +488,7 @@ Indicates whether the remote end supports all of the [resizing and repositioning
488
488
{{< badge-code >}}
489
489
{{< /tab >}}
490
490
{{< tab header="Ruby" >}}
491
- {{< badge-code >}}
491
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L69-L70" >}}
492
492
{{< /tab >}}
493
493
{{< tab header="JavaScript" >}}
494
494
{{< badge-code >}}
@@ -516,7 +516,7 @@ when using _Element Send Keys_ with hidden file upload controls.
516
516
{{< badge-code >}}
517
517
{{< /tab >}}
518
518
{{< tab header="Ruby" >}}
519
- {{< badge-code >}}
519
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L78-L79" >}}
520
520
{{< /tab >}}
521
521
{{< tab header="JavaScript" >}}
522
522
{{< badge-code >}}
@@ -603,12 +603,7 @@ driver.Navigate().GoToUrl("https://www.selenium.dev/");
603
603
}
604
604
{{< /tab >}}
605
605
{{< tab header="Ruby" >}}
606
-
607
- proxy = Selenium::WebDriver::Proxy.new(http: '< HOST:PORT > ')
608
- cap = Selenium::WebDriver::Remote::Capabilities.chrome(proxy: proxy)
609
-
610
- driver = Selenium::WebDriver.for(: chrome , capabilities: cap)
611
- driver.get('http://google.com ')
606
+ {{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L87-L88" >}}
612
607
{{< /tab >}}
613
608
{{< tab header="JavaScript" >}}
614
609
let webdriver = require('selenium-webdriver');
0 commit comments