File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,7 @@ export default class SafariSeleniumBrowser extends SeleniumBrowser {
8
8
9
9
/* istanbul ignore next */
10
10
this . hook ( 'selenium:build:before' , async ( builder ) => {
11
- // TODO
12
- const configArguments = [ ]
13
-
14
11
const options = new SafariSeleniumBrowser . Options ( )
15
- options . addArguments ( ...configArguments )
16
12
17
13
await this . callHook ( 'selenium:build:options' , options , builder )
18
14
@@ -24,11 +20,7 @@ export default class SafariSeleniumBrowser extends SeleniumBrowser {
24
20
async _loadDependencies ( ) {
25
21
super . _loadDependencies ( )
26
22
27
- if ( ! SafariSeleniumBrowser . driverLoaded ) {
28
- if ( await this . loadDependency ( 'safaridriver' ) ) {
29
- SafariSeleniumBrowser . driverLoaded = true
30
- }
31
- }
23
+ // there is no separate safaridriver, it should already be installed
32
24
33
25
if ( ! SafariSeleniumBrowser . Options ) {
34
26
const { Options } = await this . loadDependency ( 'selenium-webdriver/safari' )
You can’t perform that action at this time.
0 commit comments