Commit 441337f
authored
Handle Selenium "options" deprecation (#2118)
Silences this warning while running "bundle exec rspec":
WARN Selenium [DEPRECATION] [:browser_options] :options as a parameter for
driver initialization is deprecated. Use :capabilities with an Array of
value capabilities/options if necessary instead.
But with a cleaner approach from that introduced in #2064.1 parent 87b0622 commit 441337f
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
| |||
0 commit comments