Skip to content

Commit

Permalink
[7.17] Upgrade selenium-webdriver to 4.17.0 (#175746) (#176059)
Browse files Browse the repository at this point in the history
#175746

---------

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
jbudz and kibanamachine authored Feb 6, 2024
1 parent 2b9e244 commit 51a29f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@
"sass-embedded": "^1.70.0",
"sass-loader": "^10.5.1",
"sass-resources-loader": "^2.0.1",
"selenium-webdriver": "^4.16.0",
"selenium-webdriver": "^4.17.0",
"simple-git": "^3.16.0",
"sinon": "^7.4.2",
"sort-package-json": "^1.53.1",
Expand Down
8 changes: 4 additions & 4 deletions test/functional/services/remote/webdriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function initChromiumOptions(browserType: Browsers, acceptInsecureCerts: boolean
if (headlessBrowser === '1') {
// Use --disable-gpu to avoid an error from a missing Mesa library, as per
// See: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
options.headless();
options.addArguments('headless=old');
options.addArguments('disable-gpu');
}

Expand All @@ -109,7 +109,7 @@ function initChromiumOptions(browserType: Browsers, acceptInsecureCerts: boolean

if (remoteDebug === '1') {
// Visit chrome://inspect in chrome to remotely view/debug
options.headless();
options.addArguments('headless=old');
options.addArguments('disable-gpu', 'remote-debugging-port=9222');
}

Expand Down Expand Up @@ -224,8 +224,8 @@ async function attemptToCreateCommand(
firefoxOptions.setAcceptInsecureCerts(config.acceptInsecureCerts);

if (headlessBrowser === '1') {
// See: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode
firefoxOptions.headless();
// See: https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions
firefoxOptions.addArguments('-headless');
}

// Windows issue with stout socket https://github.com/elastic/kibana/issues/52053
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25051,10 +25051,10 @@ select-hose@^2.0.0:
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"
integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=

selenium-webdriver@^4.16.0:
version "4.16.0"
resolved "https://registry.yarnpkg.com/selenium-webdriver/-/selenium-webdriver-4.16.0.tgz#2f1a2426d876aa389d1c937b00f034c2c7808360"
integrity sha512-IbqpRpfGE7JDGgXHJeWuCqT/tUqnLvZ14csSwt+S8o4nJo3RtQoE9VR4jB47tP/A8ArkYsh/THuMY6kyRP6kuA==
selenium-webdriver@^4.17.0:
version "4.17.0"
resolved "https://registry.yarnpkg.com/selenium-webdriver/-/selenium-webdriver-4.17.0.tgz#f6c93a9df3e0543df7dc2329d81968af42845a7f"
integrity sha512-e2E+2XBlGepzwgFbyQfSwo9Cbj6G5fFfs9MzAS00nC99EewmcS2rwn2MwtgfP7I5p1e7DYv4HQJXtWedsu6DvA==
dependencies:
jszip "^3.10.1"
tmp "^0.2.1"
Expand Down

0 comments on commit 51a29f9

Please sign in to comment.