Skip to content

Commit

Permalink
[plugin-web-app] Add workaround for Chrome 111 (#3708)
Browse files Browse the repository at this point in the history
Root cause is the changes in Chrome behavior: https://bugs.chromium.org/p/chromium/issues/detail?id=1422444
Discussion: https://groups.google.com/g/chromedriver-users/c/xL5-13_qGaA?pli=1
Selenium issue: SeleniumHQ/selenium#11750

Solution details: following Selenium team recommendation and switching to JDK 11 Http client for Selenium
  • Loading branch information
valfirst authored Mar 10, 2023
1 parent 6f0135c commit 656ed89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions vividus-plugin-web-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies {
implementation(group: 'org.seleniumhq.selenium', name: 'selenium-firefox-driver')
implementation(group: 'org.seleniumhq.selenium', name: 'selenium-ie-driver')
implementation(group: 'org.seleniumhq.selenium', name: 'selenium-safari-driver')
implementation(group: 'org.seleniumhq.selenium', name: 'selenium-http-jdk-client')
implementation(group: 'junit', name: 'junit', version: '4.13.2')
implementation(group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '5.3.2') {
exclude group: 'com.github.docker-java'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ selenium.screenshot.full-page=true
selenium.screenshot.indent=300
# highlighter types: DEFAULT, BLUR, MONOCHROME
selenium.screenshot.highlighter=DEFAULT

# https://www.selenium.dev/blog/2022/using-java11-httpclient/#integrating-the-java-11-client
# Reason: https://github.com/SeleniumHQ/selenium/issues/11750
system.webdriver.http.factory=jdk-http-client

0 comments on commit 656ed89

Please sign in to comment.