You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove all the (im my mind) unused code from the ErrorHandler and the related unit tests
update the unit tests to not use the ErrorHandler to decode an error
Let's see what the tests in the CI look like with this change :D
(And we should propably ask some of the Appium people too.)
Motivation and Context
@diemol From the current structure of the code i would assume:
The ...ResponseCodec should be able to decode a HttpResponse into a Response with the knowledge of the protocol.
The ErrorHandler should only work with this Response regardless of the used protocol and not try to guess what the HttpResponse could be.
In the time before the W3C protocol the ErrorHandler was propably responsible for decoding, but this code should be unused now.
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Simplification Impact: The PR significantly simplifies the ErrorHandler by removing a large amount of code. While this is intended to remove unused code, it's crucial to ensure that these sections are indeed not used in any scenarios, including edge cases not covered by tests.
Exception Handling: The new implementation throws a generic WebDriverException for any non-success response, which might obscure the underlying reasons for errors that were previously handled more descriptively.
Loss of Functionality: The removal of detailed error handling and mapping specific exceptions to error codes could potentially lead to a loss of functionality where specific error types are expected by client code.
Why: Explicitly handling different HTTP error statuses provides more specific error messages and can offer better recovery options. This enhances the robustness and clarity of error handling.
9
Add a check for the response state before throwing the exception
Consider verifying the state of the Response object in testShouldThrowAVanillaWebDriverExceptionIfServerDoesNotProvideAValue to ensure it matches expected error conditions before asserting the type and message of the exception.
Why: Adding a check for the response state before asserting the exception type and message ensures that the test is verifying the correct conditions, improving test accuracy and robustness.
8
Enhance exception handling by providing more detailed error messages
Replace the generic WebDriverException with a more specific exception type or add additional context to the exception message to help with debugging.
-throw new WebDriverException(throwable);+throw new WebDriverException("Specific error occurred: " + throwable.getMessage(), throwable);
Apply this suggestion
Suggestion importance[1-10]: 8
Why: Providing more context in exception messages can significantly aid in debugging and understanding the root cause of errors. This suggestion improves the clarity of the exception message.
8
Use a specific error message for exceptions to aid in debugging
In testShouldThrowAVanillaWebDriverExceptionIfServerDoesNotProvideAValue, ensure that the message from new WebDriverException().getMessage() is meaningful and not generic, as it might not provide useful debugging information.
+String expectedMessage = "Specific error message related to the context";
assertThatExceptionOfType(WebDriverException.class)
.isThrownBy(() -> handler.throwIfResponseFailed(response, 123))
.withNoCause()
- .withMessageContaining(new WebDriverException().getMessage());+ .withMessageContaining(expectedMessage);
Apply this suggestion
Suggestion importance[1-10]: 6
Why: Using a specific error message can aid in debugging by providing more context. However, the suggestion assumes that a meaningful message can be determined, which may not always be straightforward.
6
Reintroduce error code mappings for more precise error handling
Consider reintroducing the ErrorCodes object to map specific exceptions to error codes, enhancing the granularity of error handling.
-public ErrorHandler() {}+private final ErrorCodes errorCodes;+public ErrorHandler() {+ this.errorCodes = new ErrorCodes();+}+
Apply this suggestion
Suggestion importance[1-10]: 6
Why: Reintroducing the ErrorCodes object can enhance the granularity of error handling, but it may also reintroduce complexity that was intentionally removed. The benefit depends on the specific use case.
6
Possible issue
Validate the 'state' parameter to prevent invalid 'Response' objects
For the method createResponse(String state, Object value), consider checking if state is null or empty and throw an IllegalArgumentException to prevent creating invalid Response objects.
+if (state == null || state.isEmpty()) {+ throw new IllegalArgumentException("State cannot be null or empty");+}
Response response = new Response();
response.setState(state);
response.setValue(value);
return response;
Apply this suggestion
Suggestion importance[1-10]: 9
Why: Adding validation for the 'state' parameter prevents the creation of invalid 'Response' objects, which can help catch errors early and improve code reliability.
9
Best practice
Use a more specific exception type for detailed error handling
In testShouldThrowIfResponseWasNotSuccess, use a more specific exception type than WebDriverException if applicable, to provide more detailed error handling.
-assertThatExceptionOfType(WebDriverException.class)+assertThatExceptionOfType(SpecificException.class) // Replace SpecificException with the actual exception class
.isThrownBy(() -> handler.throwIfResponseFailed(response, 123))
.withNoCause();
Apply this suggestion
Suggestion importance[1-10]: 7
Why: Using a more specific exception type can provide more detailed error handling and better insight into the nature of the failure. However, it requires knowledge of the specific exceptions that might be thrown.
7
Add logging for better error traceability
Add logging before throwing exceptions to help trace the error causes more effectively.
+LOG.error("Response failed with unknown status: " + response.getState());
throw new WebDriverException("response failed with unknown status: " + response.getState());
Apply this suggestion
Suggestion importance[1-10]: 7
Why: Adding logging before throwing exceptions can help trace the error causes more effectively, which is a good practice for debugging and monitoring.
Failed test name: OpenQA.Selenium.ShadowRootHandlingTest.ShouldThrowGettingShadowRootWithElementNotHavingShadowRoot
Failure summary:
The action failed because the test OpenQA.Selenium.ShadowRootHandlingTest.ShouldThrowGettingShadowRootWithElementNotHavingShadowRoot did not behave as expected:
The test expected an exception of type OpenQA.Selenium.NoSuchShadowRootException to be thrown when attempting to get a shadow root from an element that does not have one.
However, no exception was thrown, leading to the test failure.
Relevant error logs:
1: ##[group]Operating System2: Ubuntu
...
970: Package 'php-symfony-debug-bundle' is not installed, so not removed971: Package 'php-symfony-dependency-injection' is not installed, so not removed972: Package 'php-symfony-deprecation-contracts' is not installed, so not removed973: Package 'php-symfony-discord-notifier' is not installed, so not removed974: Package 'php-symfony-doctrine-bridge' is not installed, so not removed975: Package 'php-symfony-doctrine-messenger' is not installed, so not removed976: Package 'php-symfony-dom-crawler' is not installed, so not removed977: Package 'php-symfony-dotenv' is not installed, so not removed978: Package 'php-symfony-error-handler' is not installed, so not removed
...
1897: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/click_submit_test.html -> javascript/atoms/test/click_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1898: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/click_test.html -> javascript/atoms/test/click_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1899: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/clientrect_test.html -> javascript/atoms/test/clientrect_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1900: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/color_test.html -> javascript/atoms/test/color_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1901: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/dom_test.html -> javascript/atoms/test/dom_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1902: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/drag_test.html -> javascript/atoms/test/drag_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1903: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/enabled_test.html -> javascript/atoms/test/enabled_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1904: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/enter_submit_test.html -> javascript/atoms/test/enter_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test1905: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:351:19: runfiles symlink javascript/atoms/test/error_test.html -> javascript/atoms/test/error_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
...
2010: (00:17:22) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:67:19: runfiles symlink javascript/webdriver/test/testutil_test.js -> javascript/webdriver/test/testutil_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test2011: (00:17:22) �[32mAnalyzing:�[0m 2148 targets (1570 packages loaded, 45267 targets configured)2012: �[32m[6,012 / 6,534]�[0m 143 / 695 tests;�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (71 source files); 6s remote, remote-cache ... (46 actions, 10 running)2013: (00:17:27) �[32mAnalyzing:�[0m 2148 targets (1570 packages loaded, 45482 targets configured)2014: �[32m[6,656 / 7,111]�[0m 185 / 783 tests;�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (71 source files); 11s remote, remote-cache ... (50 actions, 3 running)2015: (00:17:32) �[32mAnalyzing:�[0m 2148 targets (1570 packages loaded, 45769 targets configured)2016: �[32m[6,836 / 7,398]�[0m 212 / 880 tests;�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (71 source files); 16s remote, remote-cache ... (48 actions, 4 running)2017: (00:17:37) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (71 source files):2018: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2019: ErrorCodes errorCodes = new ErrorCodes();2020: ^2021: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2022: ErrorCodes errorCodes = new ErrorCodes();2023: ^2024: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2025: response.setStatus(ErrorCodes.SUCCESS);2026: ^2027: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2028: response.setState(ErrorCodes.SUCCESS_STRING);2029: ^2030: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2031: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));2032: ^2033: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2034: new ErrorCodes().getExceptionType((String) rawError);2035: ^2036: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2037: private final ErrorCodes errorCodes = new ErrorCodes();2038: ^2039: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2040: private final ErrorCodes errorCodes = new ErrorCodes();2041: ^2042: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2043: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;2044: ^2045: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2046: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);2047: ^2048: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2049: response.setStatus(ErrorCodes.UNHANDLED_ERROR);2050: ^2051: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2052: response.setStatus(ErrorCodes.SUCCESS);2053: ^2054: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2055: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));2056: ^2057: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2058: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));2059: ^2060: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:69: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2061: private final ErrorCodes errorCodes = new ErrorCodes();2062: ^2063: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:69: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2064: private final ErrorCodes errorCodes = new ErrorCodes();2065: ^2066: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2067: response.setStatus(ErrorCodes.UNHANDLED_ERROR);2068: ^2069: java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:141: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2070: response.setStatus(ErrorCodes.SUCCESS);
...
2956: (00:25:39) �[32m[14,417 / 15,324]�[0m 926 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 91s remote, remote-cache ... (50 actions, 32 running)2957: (00:25:44) �[32m[14,424 / 15,324]�[0m 933 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 96s remote, remote-cache ... (50 actions, 31 running)2958: (00:25:50) �[32m[14,428 / 15,327]�[0m 935 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 102s remote, remote-cache ... (50 actions, 31 running)2959: (00:25:55) �[32m[14,433 / 15,327]�[0m 940 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 107s remote, remote-cache ... (50 actions, 27 running)2960: (00:26:01) �[32m[14,434 / 15,327]�[0m 941 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 112s remote, remote-cache ... (50 actions, 28 running)2961: (00:26:06) �[32m[14,445 / 15,327]�[0m 950 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 117s remote, remote-cache ... (50 actions, 23 running)2962: (00:26:11) �[32m[14,446 / 15,327]�[0m 951 / 2148 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 123s remote, remote-cache ... (50 actions, 28 running)2963: (00:26:12) �[31m�[1mFAIL: �[0m//dotnet/test/common:ShadowRootHandlingTest-edge (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild-ST-d67017d35e85/testlogs/dotnet/test/common/ShadowRootHandlingTest-edge/test.log)2964: �[31m�[1mFAILED: �[0m//dotnet/test/common:ShadowRootHandlingTest-edge (Summary)
...
3024: 00:24:49.781 TRACE HttpCommandExecutor: >> GET RequestUri: http://localhost:46819/session/dda418e3ebfebacb6b46399ba3979f1b/element/f.58AA2F4DF7DFB43E1BA5A236CFE10086.d.BD6E3AE80EB4349E18118BC70D9C4E53.e.9/shadow, Content: null, Headers: 33025: 00:24:49.792 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13026: 00:24:49.792 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])3027: 00:24:49.793 DEBUG HttpCommandExecutor: Executing command: [dda418e3ebfebacb6b46399ba3979f1b]: findShadowChildElement {"id":"f.58AA2F4DF7DFB43E1BA5A236CFE10086.d.BD6E3AE80EB4349E18118BC70D9C4E53.e.10","using":"css selector","value":"input"}3028: 00:24:49.794 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:46819/session/dda418e3ebfebacb6b46399ba3979f1b/shadow/f.58AA2F4DF7DFB43E1BA5A236CFE10086.d.BD6E3AE80EB4349E18118BC70D9C4E53.e.10/element, Content: System.Net.Http.ByteArrayContent, Headers: 23029: {"using":"css selector","value":"input"}3030: 00:24:49.809 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13031: 00:24:49.810 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
3032: 00:24:49.812 DEBUG HttpCommandExecutor: Executing command: [dda418e3ebfebacb6b46399ba3979f1b]: executeScript {"script":"/* get-attribute */return (function(){return (function(){var d=this||self;function f(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var h=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(\u0022string\u0022===typeof a)return\u0022string\u0022!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c\u003Ca.length;c\u002B\u002B)if(c in a\u0026\u0026a[c]===b)return c;return-1},k=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=\u0022string\u0022===typeof a?a.split(\u0022\u0022):a,g=0;g\u003Cc;g\u002B\u002B)g in e\u0026\u0026b.call(void 0,e[g],g,a)};function l(a,b){this.code=a;this.a=m[a]||n;this.message=b||\u0022\u0022;a=this.a.replace(/((?:^|\\s\u002B)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]\u002B/g,\u0022\u0022)});b=a.length-5;if(0\u003Eb||a.indexOf(\u0022Error\u0022,b)!=b)a\u002B=\u0022Error\u0022;this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\u0022\u0022}f(l,Error);var n=\u0022unknown error\u0022,m={15:\u0022element not selectable\u0022,11:\u0022element not visible\u0022};m[31]=n;m[30]=n;m[24]=\u0022invalid cookie domain\u0022;m[29]=\u0022invalid element coordinates\u0022;m[12]=\u0022invalid element state\u0022;m[32]=\u0022invalid selector\u0022;\nm[51]=\u0022invalid selector\u0022;m[52]=\u0022invalid selector\u0022;m[17]=\u0022javascript error\u0022;m[405]=\u0022unsupported operation\u0022;m[34]=\u0022move target out of bounds\u0022;m[27]=\u0022no such alert\u0022;m[7]=\u0022no such element\u0022;m[8]=\u0022no such frame\u0022;m[23]=\u0022no such window\u0022;m[28]=\u0022script timeout\u0022;m[33]=\u0022session not created\u0022;m[10]=\u0022stale element reference\u0022;m[21]=\u0022timeout\u0022;m[25]=\u0022unable to set cookie\u0022;m[26]=\u0022unexpected alert open\u0022;m[13]=n;m[9]=\u0022unknown command\u0022;var p;a:{var q=d.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=\u0022\u0022}function t(a){return-1!=p.indexOf(a)};function u(){return t(\u0022Firefox\u0022)||t(\u0022FxiOS\u0022)}function v(){return(t(\u0022Chrome\u0022)||t(\u0022CriOS\u0022))\u0026\u0026!t(\u0022Edge\u0022)};function w(){return t(\u0022iPhone\u0022)\u0026\u0026!t(\u0022iPod\u0022)\u0026\u0026!t(\u0022iPad\u0022)};var y=t(\u0022Opera\u0022),z=t(\u0022Trident\u0022)||t(\u0022MSIE\u0022),A=t(\u0022Edge\u0022),B=t(\u0022Gecko\u0022)\u0026\u0026!(-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022))\u0026\u0026!(t(\u0022Trident\u0022)||t(\u0022MSIE\u0022))\u0026\u0026!t(\u0022Edge\u0022),C=-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022);function D(){var a=d.document;return a?a.documentMode:void 0}var E;\na:{var F=\u0022\u0022,G=function(){var a=p;if(B)return/rv:([^\\);]\u002B)(\\)|;)/.exec(a);if(A)return/Edge\\/([\\d\\.]\u002B)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]\u002B)(\\)|;)/.exec(a);if(C)return/WebKit\\/(\\S\u002B)/.exec(a);if(y)return/(?:Version)[ \\/]?(\\S\u002B)/.exec(a)}();G\u0026\u0026(F=G?G[1]:\u0022\u0022);if(z){var H=D();if(null!=H\u0026\u0026H\u003EparseFloat(F)){E=String(H);break a}}E=F}var I;I=d.document\u0026\u0026z?D():void 0;var J=u(),K=w()||t(\u0022iPod\u0022),L=t(\u0022iPad\u0022),M=t(\u0022Android\u0022)\u0026\u0026!(v()||u()||t(\u0022Opera\u0022)||t(\u0022Silk\u0022)),N=v(),aa=t(\u0022Safari\u0022)\u0026\u0026!(v()||t(\u0022Coast\u0022)||t(\u0022Opera\u0022)||t(\u0022Edge\u0022)||t(\u0022Edg/\u0022)||t(\u0022OPR\u0022)||u()||t(\u0022Silk\u0022)||t(\u0022Android\u0022))\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022));function O(a){return(a=a.exec(p))?a[1]:\u0022\u0022}(function(){if(J)return O(/Firefox\\/([0-9.]\u002B)/);if(z||A||y)return E;if(N)return w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)?O(/CriOS\\/([0-9.]\u002B)/):O(/Chrome\\/([0-9.]\u002B)/);if(aa\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)))return O(/Version\\/([0-9.]\u002B)/);if(K||L){var a=/Version\\/(\\S\u002B).*Mobile\\/(\\S\u002B)/.exec(p);if(a)return a[1]\u002B\u0022.\u0022\u002Ba[2]}else if(M)return(a=O(/Android\\s\u002B([0-9.]\u002B)/))?a:O(/Version\\/([0-9.]\u002B)/);return\u0022\u0022})();var P=z\u0026\u0026!(8\u003C=Number(I)),ba=z\u0026\u0026!(9\u003C=Number(I));var ca={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Q={IMG:\u0022 \u0022,BR:\u0022\\n\u0022};function R(a,b,c){if(!(a.nodeName in ca))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\u0022\u0022)):b.push(a.nodeValue);else if(a.nodeName in Q)b.push(Q[a.nodeName]);else for(a=a.firstChild;a;)R(a,b,c),a=a.nextSibling};function S(a,b){b=b.toLowerCase();return\u0022style\u0022==b?da(a.style.cssText):P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022INPUT\u0022)?a.value:ba\u0026\u0026!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ea=/[;]\u002B(?=(?:(?:[^\u0022]*\u0022){2})*[^\u0022]*$)(?=(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction da(a){var b=[];k(a.split(ea),function(c){var e=c.indexOf(\u0022:\u0022);0\u003Ce\u0026\u0026(c=[c.slice(0,e),c.slice(e\u002B1)],2==c.length\u0026\u0026b.push(c[0].toLowerCase(),\u0022:\u0022,c[1],\u0022;\u0022))});b=b.join(\u0022\u0022);return b=\u0022;\u0022==b.charAt(b.length-1)?b:b\u002B\u0022;\u0022}function U(a,b){P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022OPTION\u0022)\u0026\u0026null===S(a,\u0022value\u0022)?(b=[],R(a,b,!1),a=b.join(\u0022\u0022)):a=a[b];return a}\nfunction T(a,b){b\u0026\u0026\u0022string\u0022!==typeof b\u0026\u0026(b=b.toString());return a instanceof HTMLFormElement?!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||\u0022FORM\u0022==b):!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()==b)}function V(a){return T(a,\u0022OPTION\u0022)?!0:T(a,\u0022INPUT\u0022)?(a=a.type.toLowerCase(),\u0022checkbox\u0022==a||\u0022radio\u0022==a):!1};var fa={\u0022class\u0022:\u0022className\u0022,readonly:\u0022readOnly\u0022},ha=\u0022allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate\u0022.split(\u0022 \u0022);function W(a,b){var c=null,e=b.toLowerCase();if(\u0022style\u0022==e)return(c=a.style)\u0026\u0026\u0022string\u0022!=typeof c\u0026\u0026(c=c.cssText),c;if((\u0022selected\u0022==e||\u0022checked\u0022==e)\u0026\u0026V(a)){if(!V(a))throw new l(15,\u0022Element is not selectable\u0022);b=\u0022selected\u0022;c=a.type\u0026\u0026a.type.toLowerCase();if(\u0022checkbox\u0022==c||\u0022radio\u0022==c)b=\u0022checked\u0022;return U(a,b)?\u0022true\u0022:null}var g=T(a,\u0022A\u0022);if(T(a,\u0022IMG\u0022)\u0026\u0026\u0022src\u0022==e||g\u0026\u0026\u0022href\u0022==e)return(c=S(a,e))\u0026\u0026(c=U(a,e)),c;if(\u0022spellcheck\u0022==e){c=S(a,e);if(null!==c){if(\u0022false\u0022==c.toLowerCase())return\u0022false\u0022;if(\u0022true\u0022==c.toLowerCase())return\u0022true\u0022}return U(a,\ne)\u002B\u0022\u0022}g=fa[b]||b;if(0\u003C=h(ha,e))return(c=null!==S(a,b)||U(a,g))?\u0022true\u0022:null;try{var x=U(a,g)}catch(ia){}(e=null==x)||(e=typeof x,e=\u0022object\u0022==e\u0026\u0026null!=x||\u0022function\u0022==e);e?c=S(a,b):c=x;return null!=c?c.toString():null}var X=[\u0022_\u0022],Y=d;X[0]in Y||\u0022undefined\u0022==typeof Y.execScript||Y.execScript(\u0022var \u0022\u002BX[0]);for(var Z;X.length\u0026\u0026(Z=X.shift());)X.length||void 0===W?Y[Z]\u0026\u0026Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply({navigator:typeof window!=\u0027undefined\u0027?window.navigator:null,document:typeof window!=\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.58AA2F4DF7DFB43E1BA5A236CFE10086.d.BD6E3AE80EB4349E18118BC70D9C4E53.e.8"},"type"]}
3033: 00:24:49.817 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:46819/session/dda418e3ebfebacb6b46399ba3979f1b/execute/sync, Content: System.Net.Http.ByteArrayContent, Headers: 2
3034: {"script":"/* get-attribute */return (function(){return (function(){var d=this||self;function f(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var h=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(\u0022string\u0022===typeof a)return\u0022string\u0022!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c\u003Ca.length;c\u002B\u002B)if(c in a\u0026\u0026a[c]===b)return c;return-1},k=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=\u0022string\u0022===typeof a?a.split(\u0022\u0022):a,g=0;g\u003Cc;g\u002B\u002B)g in e\u0026\u0026b.call(void 0,e[g],g,a)};function l(a,b){this.code=a;this.a=m[a]||n;this.message=b||\u0022\u0022;a=this.a.replace(/((?:^|\\s\u002B)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]\u002B/g,\u0022\u0022)});b=a.length-5;if(0\u003Eb||a.indexOf(\u0022Error\u0022,b)!=b)a\u002B=\u0022Error\u0022;this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\u0022\u0022}f(l,Error);var n=\u0022unknown error\u0022,m={15:\u0022element not selectable\u0022,11:\u0022element not visible\u0022};m[31]=n;m[30]=n;m[24]=\u0022invalid cookie domain\u0022;m[29]=\u0022invalid element coordinates\u0022;m[12]=\u0022invalid element state\u0022;m[32]=\u0022invalid selector\u0022;\nm[51]=\u0022invalid selector\u0022;m[52]=\u0022invalid selector\u0022;m[17]=\u0022javascript error\u0022;m[405]=\u0022unsupported operation\u0022;m[34]=\u0022move target out of bounds\u0022;m[27]=\u0022no such alert\u0022;m[7]=\u0022no such element\u0022;m[8]=\u0022no such frame\u0022;m[23]=\u0022no such window\u0022;m[28]=\u0022script timeout\u0022;m[33]=\u0022session not created\u0022;m[10]=\u0022stale element reference\u0022;m[21]=\u0022timeout\u0022;m[25]=\u0022unable to set cookie\u0022;m[26]=\u0022unexpected alert open\u0022;m[13]=n;m[9]=\u0022unknown command\u0022;var p;a:{var q=d.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=\u0022\u0022}function t(a){return-1!=p.indexOf(a)};function u(){return t(\u0022Firefox\u0022)||t(\u0022FxiOS\u0022)}function v(){return(t(\u0022Chrome\u0022)||t(\u0022CriOS\u0022))\u0026\u0026!t(\u0022Edge\u0022)};function w(){return t(\u0022iPhone\u0022)\u0026\u0026!t(\u0022iPod\u0022)\u0026\u0026!t(\u0022iPad\u0022)};var y=t(\u0022Opera\u0022),z=t(\u0022Trident\u0022)||t(\u0022MSIE\u0022),A=t(\u0022Edge\u0022),B=t(\u0022Gecko\u0022)\u0026\u0026!(-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022))\u0026\u0026!(t(\u0022Trident\u0022)||t(\u0022MSIE\u0022))\u0026\u0026!t(\u0022Edge\u0022),C=-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022);function D(){var a=d.document;return a?a.documentMode:void 0}var E;\na:{var F=\u0022\u0022,G=function(){var a=p;if(B)return/rv:([^\\);]\u002B)(\\)|;)/.exec(a);if(A)return/Edge\\/([\\d\\.]\u002B)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]\u002B)(\\)|;)/.exec(a);if(C)return/WebKit\\/(\\S\u002B)/.exec(a);if(y)return/(?:Version)[ \\/]?(\\S\u002B)/.exec(a)}();G\u0026\u0026(F=G?G[1]:\u0022\u0022);if(z){var H=D();if(null!=H\u0026\u0026H\u003EparseFloat(F)){E=String(H);break a}}E=F}var I;I=d.document\u0026\u0026z?D():void 0;var J=u(),K=w()||t(\u0022iPod\u0022),L=t(\u0022iPad\u0022),M=t(\u0022Android\u0022)\u0026\u0026!(v()||u()||t(\u0022Opera\u0022)||t(\u0022Silk\u0022)),N=v(),aa=t(\u0022Safari\u0022)\u0026\u0026!(v()||t(\u0022Coast\u0022)||t(\u0022Opera\u0022)||t(\u0022Edge\u0022)||t(\u0022Edg/\u0022)||t(\u0022OPR\u0022)||u()||t(\u0022Silk\u0022)||t(\u0022Android\u0022))\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022));function O(a){return(a=a.exec(p))?a[1]:\u0022\u0022}(function(){if(J)return O(/Firefox\\/([0-9.]\u002B)/);if(z||A||y)return E;if(N)return w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)?O(/CriOS\\/([0-9.]\u002B)/):O(/Chrome\\/([0-9.]\u002B)/);if(aa\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)))return O(/Version\\/([0-9.]\u002B)/);if(K||L){var a=/Version\\/(\\S\u002B).*Mobile\\/(\\S\u002B)/.exec(p);if(a)return a[1]\u002B\u0022.\u0022\u002Ba[2]}else if(M)return(a=O(/Android\\s\u002B([0-9.]\u002B)/))?a:O(/Version\\/([0-9.]\u002B)/);return\u0022\u0022})();var P=z\u0026\u0026!(8\u003C=Number(I)),ba=z\u0026\u0026!(9\u003C=Number(I));var ca={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Q={IMG:\u0022 \u0022,BR:\u0022\\n\u0022};function R(a,b,c){if(!(a.nodeName in ca))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\u0022\u0022)):b.push(a.nodeValue);else if(a.nodeName in Q)b.push(Q[a.nodeName]);else for(a=a.firstChild;a;)R(a,b,c),a=a.nextSibling};function S(a,b){b=b.toLowerCase();return\u0022style\u0022==b?da(a.style.cssText):P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022INPUT\u0022)?a.value:ba\u0026\u0026!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ea=/[;]\u002B(?=(?:(?:[^\u0022]*\u0022){2})*[^\u0022]*$)(?=(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction da(a){var b=[];k(a.split(ea),function(c){var e=c.indexOf(\u0022:\u0022);0\u003Ce\u0026\u0026(c=[c.slice(0,e),c.slice(e\u002B1)],2==c.length\u0026\u0026b.push(c[0].toLowerCase(),\u0022:\u0022,c[1],\u0022;\u0022))});b=b.join(\u0022\u0022);return b=\u0022;\u0022==b.charAt(b.length-1)?b:b\u002B\u0022;\u0022}function U(a,b){P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022OPTION\u0022)\u0026\u0026null===S(a,\u0022value\u0022)?(b=[],R(a,b,!1),a=b.join(\u0022\u0022)):a=a[b];return a}\nfunction T(a,b){b\u0026\u0026\u0022string\u0022!==typeof b\u0026\u0026(b=b.toString());return a instanceof HTMLFormElement?!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||\u0022FORM\u0022==b):!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()==b)}function V(a){return T(a,\u0022OPTION\u0022)?!0:T(a,\u0022INPUT\u0022)?(a=a.type.toLowerCase(),\u0022checkbox\u0022==a||\u0022radio\u0022==a):!1};var fa={\u0022class\u0022:\u0022className\u0022,readonly:\u0022readOnly\u0022},ha=\u0022allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate\u0022.split(\u0022 \u0022);function W(a,b){var c=null,e=b.toLowerCase();if(\u0022style\u0022==e)return(c=a.style)\u0026\u0026\u0022string\u0022!=typeof c\u0026\u0026(c=c.cssText),c;if((\u0022selected\u0022==e||\u0022checked\u0022==e)\u0026\u0026V(a)){if(!V(a))throw new l(15,\u0022Element is not selectable\u0022);b=\u0022selected\u0022;c=a.type\u0026\u0026a.type.toLowerCase();if(\u0022checkbox\u0022==c||\u0022radio\u0022==c)b=\u0022checked\u0022;return U(a,b)?\u0022true\u0022:null}var g=T(a,\u0022A\u0022);if(T(a,\u0022IMG\u0022)\u0026\u0026\u0022src\u0022==e||g\u0026\u0026\u0022href\u0022==e)return(c=S(a,e))\u0026\u0026(c=U(a,e)),c;if(\u0022spellcheck\u0022==e){c=S(a,e);if(null!==c){if(\u0022false\u0022==c.toLowerCase())return\u0022false\u0022;if(\u0022true\u0022==c.toLowerCase())return\u0022true\u0022}return U(a,\ne)\u002B\u0022\u0022}g=fa[b]||b;if(0\u003C=h(ha,e))return(c=null!==S(a,b)||U(a,g))?\u0022true\u0022:null;try{var x=U(a,g)}catch(ia){}(e=null==x)||(e=typeof x,e=\u0022object\u0022==e\u0026\u0026null!=x||\u0022function\u0022==e);e?c=S(a,b):c=x;return null!=c?c.toString():null}var X=[\u0022_\u0022],Y=d;X[0]in Y||\u0022undefined\u0022==typeof Y.execScript||Y.execScript(\u0022var \u0022\u002BX[0]);for(var Z;X.length\u0026\u0026(Z=X.shift());)X.length||void 0===W?Y[Z]\u0026\u0026Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply({navigator:typeof window!=\u0027undefined\u0027?window.navigator:null,document:typeof window!=\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.58AA2F4DF7DFB43E1BA5A236CFE10086.d.BD6E3AE80EB4349E18118BC70D9C4E53.e.8"},"type"]}
...
3083: => OpenQA.Selenium.ShadowRootHandlingTest3084: Creating new driver of OpenQA.Selenium.Edge.StableChannelEdgeDriver type...3085: => OpenQA.Selenium.AssemblyFixture3086: 00:24:50.179 DEBUG HttpCommandExecutor: Executing command: [dda418e3ebfebacb6b46399ba3979f1b]: quit {}3087: 00:24:50.179 TRACE HttpCommandExecutor: >> DELETE RequestUri: http://localhost:46819/session/dda418e3ebfebacb6b46399ba3979f1b, Content: null, Headers: 23088: 00:24:50.281 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13089: 00:24:50.282 DEBUG HttpCommandExecutor: Response: ( Success: )3090: Standalone jar is /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild-ST-d67017d35e85/bin/dotnet/test/common/ShadowRootHandlingTest-edge/net8.0/WebDriver.Common.Tests.dll.sh.runfiles/_main/java/test/org/openqa/selenium/environment/appserver 369573091: Errors, Failures and Warnings3092: 1) Failed : OpenQA.Selenium.ShadowRootHandlingTest.ShouldThrowGettingShadowRootWithElementNotHavingShadowRoot3093: Expected: instance of <OpenQA.Selenium.NoSuchShadowRootException>3094: But was: no exception thrown3095: at OpenQA.Selenium.ShadowRootHandlingTest.ShouldThrowGettingShadowRootWithElementNotHavingShadowRoot()3096: Run Settings3097: Number of Test Workers: 23098: Work Directory: /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild-ST-d67017d35e85/bin/dotnet/test/common/ShadowRootHandlingTest-edge/net8.0/WebDriver.Common.Tests.dll.sh.runfiles/_main3099: Internal Trace: Off3100: Test Run Summary3101: Overall result: Failed3102: Test Count: 5, Passed: 4, Failed: 1, Warnings: 0, Inconclusive: 0, Skipped: 03103: Failed Tests - Failures: 1, Errors: 0, Invalid: 0
...
3166: 00:25:36.757 TRACE HttpCommandExecutor: >> GET RequestUri: http://localhost:32979/session/9a32dc780ce818525fadf96cc6cc275f/element/f.B4CB0B3E884DB623FD1C472335A8FCE3.d.8C88064417FCFB628D8F468B26E1D3DC.e.9/shadow, Content: null, Headers: 33167: 00:25:36.764 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13168: 00:25:36.764 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])3169: 00:25:36.765 DEBUG HttpCommandExecutor: Executing command: [9a32dc780ce818525fadf96cc6cc275f]: findShadowChildElement {"id":"f.B4CB0B3E884DB623FD1C472335A8FCE3.d.8C88064417FCFB628D8F468B26E1D3DC.e.10","using":"css selector","value":"input"}3170: 00:25:36.765 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:32979/session/9a32dc780ce818525fadf96cc6cc275f/shadow/f.B4CB0B3E884DB623FD1C472335A8FCE3.d.8C88064417FCFB628D8F468B26E1D3DC.e.10/element, Content: System.Net.Http.ByteArrayContent, Headers: 23171: {"using":"css selector","value":"input"}3172: 00:25:36.779 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13173: 00:25:36.780 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
3174: 00:25:36.781 DEBUG HttpCommandExecutor: Executing command: [9a32dc780ce818525fadf96cc6cc275f]: executeScript {"script":"/* get-attribute */return (function(){return (function(){var d=this||self;function f(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var h=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(\u0022string\u0022===typeof a)return\u0022string\u0022!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c\u003Ca.length;c\u002B\u002B)if(c in a\u0026\u0026a[c]===b)return c;return-1},k=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=\u0022string\u0022===typeof a?a.split(\u0022\u0022):a,g=0;g\u003Cc;g\u002B\u002B)g in e\u0026\u0026b.call(void 0,e[g],g,a)};function l(a,b){this.code=a;this.a=m[a]||n;this.message=b||\u0022\u0022;a=this.a.replace(/((?:^|\\s\u002B)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]\u002B/g,\u0022\u0022)});b=a.length-5;if(0\u003Eb||a.indexOf(\u0022Error\u0022,b)!=b)a\u002B=\u0022Error\u0022;this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\u0022\u0022}f(l,Error);var n=\u0022unknown error\u0022,m={15:\u0022element not selectable\u0022,11:\u0022element not visible\u0022};m[31]=n;m[30]=n;m[24]=\u0022invalid cookie domain\u0022;m[29]=\u0022invalid element coordinates\u0022;m[12]=\u0022invalid element state\u0022;m[32]=\u0022invalid selector\u0022;\nm[51]=\u0022invalid selector\u0022;m[52]=\u0022invalid selector\u0022;m[17]=\u0022javascript error\u0022;m[405]=\u0022unsupported operation\u0022;m[34]=\u0022move target out of bounds\u0022;m[27]=\u0022no such alert\u0022;m[7]=\u0022no such element\u0022;m[8]=\u0022no such frame\u0022;m[23]=\u0022no such window\u0022;m[28]=\u0022script timeout\u0022;m[33]=\u0022session not created\u0022;m[10]=\u0022stale element reference\u0022;m[21]=\u0022timeout\u0022;m[25]=\u0022unable to set cookie\u0022;m[26]=\u0022unexpected alert open\u0022;m[13]=n;m[9]=\u0022unknown command\u0022;var p;a:{var q=d.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=\u0022\u0022}function t(a){return-1!=p.indexOf(a)};function u(){return t(\u0022Firefox\u0022)||t(\u0022FxiOS\u0022)}function v(){return(t(\u0022Chrome\u0022)||t(\u0022CriOS\u0022))\u0026\u0026!t(\u0022Edge\u0022)};function w(){return t(\u0022iPhone\u0022)\u0026\u0026!t(\u0022iPod\u0022)\u0026\u0026!t(\u0022iPad\u0022)};var y=t(\u0022Opera\u0022),z=t(\u0022Trident\u0022)||t(\u0022MSIE\u0022),A=t(\u0022Edge\u0022),B=t(\u0022Gecko\u0022)\u0026\u0026!(-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022))\u0026\u0026!(t(\u0022Trident\u0022)||t(\u0022MSIE\u0022))\u0026\u0026!t(\u0022Edge\u0022),C=-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022);function D(){var a=d.document;return a?a.documentMode:void 0}var E;\na:{var F=\u0022\u0022,G=function(){var a=p;if(B)return/rv:([^\\);]\u002B)(\\)|;)/.exec(a);if(A)return/Edge\\/([\\d\\.]\u002B)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]\u002B)(\\)|;)/.exec(a);if(C)return/WebKit\\/(\\S\u002B)/.exec(a);if(y)return/(?:Version)[ \\/]?(\\S\u002B)/.exec(a)}();G\u0026\u0026(F=G?G[1]:\u0022\u0022);if(z){var H=D();if(null!=H\u0026\u0026H\u003EparseFloat(F)){E=String(H);break a}}E=F}var I;I=d.document\u0026\u0026z?D():void 0;var J=u(),K=w()||t(\u0022iPod\u0022),L=t(\u0022iPad\u0022),M=t(\u0022Android\u0022)\u0026\u0026!(v()||u()||t(\u0022Opera\u0022)||t(\u0022Silk\u0022)),N=v(),aa=t(\u0022Safari\u0022)\u0026\u0026!(v()||t(\u0022Coast\u0022)||t(\u0022Opera\u0022)||t(\u0022Edge\u0022)||t(\u0022Edg/\u0022)||t(\u0022OPR\u0022)||u()||t(\u0022Silk\u0022)||t(\u0022Android\u0022))\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022));function O(a){return(a=a.exec(p))?a[1]:\u0022\u0022}(function(){if(J)return O(/Firefox\\/([0-9.]\u002B)/);if(z||A||y)return E;if(N)return w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)?O(/CriOS\\/([0-9.]\u002B)/):O(/Chrome\\/([0-9.]\u002B)/);if(aa\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)))return O(/Version\\/([0-9.]\u002B)/);if(K||L){var a=/Version\\/(\\S\u002B).*Mobile\\/(\\S\u002B)/.exec(p);if(a)return a[1]\u002B\u0022.\u0022\u002Ba[2]}else if(M)return(a=O(/Android\\s\u002B([0-9.]\u002B)/))?a:O(/Version\\/([0-9.]\u002B)/);return\u0022\u0022})();var P=z\u0026\u0026!(8\u003C=Number(I)),ba=z\u0026\u0026!(9\u003C=Number(I));var ca={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Q={IMG:\u0022 \u0022,BR:\u0022\\n\u0022};function R(a,b,c){if(!(a.nodeName in ca))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\u0022\u0022)):b.push(a.nodeValue);else if(a.nodeName in Q)b.push(Q[a.nodeName]);else for(a=a.firstChild;a;)R(a,b,c),a=a.nextSibling};function S(a,b){b=b.toLowerCase();return\u0022style\u0022==b?da(a.style.cssText):P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022INPUT\u0022)?a.value:ba\u0026\u0026!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ea=/[;]\u002B(?=(?:(?:[^\u0022]*\u0022){2})*[^\u0022]*$)(?=(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction da(a){var b=[];k(a.split(ea),function(c){var e=c.indexOf(\u0022:\u0022);0\u003Ce\u0026\u0026(c=[c.slice(0,e),c.slice(e\u002B1)],2==c.length\u0026\u0026b.push(c[0].toLowerCase(),\u0022:\u0022,c[1],\u0022;\u0022))});b=b.join(\u0022\u0022);return b=\u0022;\u0022==b.charAt(b.length-1)?b:b\u002B\u0022;\u0022}function U(a,b){P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022OPTION\u0022)\u0026\u0026null===S(a,\u0022value\u0022)?(b=[],R(a,b,!1),a=b.join(\u0022\u0022)):a=a[b];return a}\nfunction T(a,b){b\u0026\u0026\u0022string\u0022!==typeof b\u0026\u0026(b=b.toString());return a instanceof HTMLFormElement?!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||\u0022FORM\u0022==b):!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()==b)}function V(a){return T(a,\u0022OPTION\u0022)?!0:T(a,\u0022INPUT\u0022)?(a=a.type.toLowerCase(),\u0022checkbox\u0022==a||\u0022radio\u0022==a):!1};var fa={\u0022class\u0022:\u0022className\u0022,readonly:\u0022readOnly\u0022},ha=\u0022allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate\u0022.split(\u0022 \u0022);function W(a,b){var c=null,e=b.toLowerCase();if(\u0022style\u0022==e)return(c=a.style)\u0026\u0026\u0022string\u0022!=typeof c\u0026\u0026(c=c.cssText),c;if((\u0022selected\u0022==e||\u0022checked\u0022==e)\u0026\u0026V(a)){if(!V(a))throw new l(15,\u0022Element is not selectable\u0022);b=\u0022selected\u0022;c=a.type\u0026\u0026a.type.toLowerCase();if(\u0022checkbox\u0022==c||\u0022radio\u0022==c)b=\u0022checked\u0022;return U(a,b)?\u0022true\u0022:null}var g=T(a,\u0022A\u0022);if(T(a,\u0022IMG\u0022)\u0026\u0026\u0022src\u0022==e||g\u0026\u0026\u0022href\u0022==e)return(c=S(a,e))\u0026\u0026(c=U(a,e)),c;if(\u0022spellcheck\u0022==e){c=S(a,e);if(null!==c){if(\u0022false\u0022==c.toLowerCase())return\u0022false\u0022;if(\u0022true\u0022==c.toLowerCase())return\u0022true\u0022}return U(a,\ne)\u002B\u0022\u0022}g=fa[b]||b;if(0\u003C=h(ha,e))return(c=null!==S(a,b)||U(a,g))?\u0022true\u0022:null;try{var x=U(a,g)}catch(ia){}(e=null==x)||(e=typeof x,e=\u0022object\u0022==e\u0026\u0026null!=x||\u0022function\u0022==e);e?c=S(a,b):c=x;return null!=c?c.toString():null}var X=[\u0022_\u0022],Y=d;X[0]in Y||\u0022undefined\u0022==typeof Y.execScript||Y.execScript(\u0022var \u0022\u002BX[0]);for(var Z;X.length\u0026\u0026(Z=X.shift());)X.length||void 0===W?Y[Z]\u0026\u0026Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply({navigator:typeof window!=\u0027undefined\u0027?window.navigator:null,document:typeof window!=\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.B4CB0B3E884DB623FD1C472335A8FCE3.d.8C88064417FCFB628D8F468B26E1D3DC.e.7"},"type"]}
3175: 00:25:36.782 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:32979/session/9a32dc780ce818525fadf96cc6cc275f/execute/sync, Content: System.Net.Http.ByteArrayContent, Headers: 2
3176: {"script":"/* get-attribute */return (function(){return (function(){var d=this||self;function f(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var h=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(\u0022string\u0022===typeof a)return\u0022string\u0022!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c\u003Ca.length;c\u002B\u002B)if(c in a\u0026\u0026a[c]===b)return c;return-1},k=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=\u0022string\u0022===typeof a?a.split(\u0022\u0022):a,g=0;g\u003Cc;g\u002B\u002B)g in e\u0026\u0026b.call(void 0,e[g],g,a)};function l(a,b){this.code=a;this.a=m[a]||n;this.message=b||\u0022\u0022;a=this.a.replace(/((?:^|\\s\u002B)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]\u002B/g,\u0022\u0022)});b=a.length-5;if(0\u003Eb||a.indexOf(\u0022Error\u0022,b)!=b)a\u002B=\u0022Error\u0022;this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\u0022\u0022}f(l,Error);var n=\u0022unknown error\u0022,m={15:\u0022element not selectable\u0022,11:\u0022element not visible\u0022};m[31]=n;m[30]=n;m[24]=\u0022invalid cookie domain\u0022;m[29]=\u0022invalid element coordinates\u0022;m[12]=\u0022invalid element state\u0022;m[32]=\u0022invalid selector\u0022;\nm[51]=\u0022invalid selector\u0022;m[52]=\u0022invalid selector\u0022;m[17]=\u0022javascript error\u0022;m[405]=\u0022unsupported operation\u0022;m[34]=\u0022move target out of bounds\u0022;m[27]=\u0022no such alert\u0022;m[7]=\u0022no such element\u0022;m[8]=\u0022no such frame\u0022;m[23]=\u0022no such window\u0022;m[28]=\u0022script timeout\u0022;m[33]=\u0022session not created\u0022;m[10]=\u0022stale element reference\u0022;m[21]=\u0022timeout\u0022;m[25]=\u0022unable to set cookie\u0022;m[26]=\u0022unexpected alert open\u0022;m[13]=n;m[9]=\u0022unknown command\u0022;var p;a:{var q=d.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=\u0022\u0022}function t(a){return-1!=p.indexOf(a)};function u(){return t(\u0022Firefox\u0022)||t(\u0022FxiOS\u0022)}function v(){return(t(\u0022Chrome\u0022)||t(\u0022CriOS\u0022))\u0026\u0026!t(\u0022Edge\u0022)};function w(){return t(\u0022iPhone\u0022)\u0026\u0026!t(\u0022iPod\u0022)\u0026\u0026!t(\u0022iPad\u0022)};var y=t(\u0022Opera\u0022),z=t(\u0022Trident\u0022)||t(\u0022MSIE\u0022),A=t(\u0022Edge\u0022),B=t(\u0022Gecko\u0022)\u0026\u0026!(-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022))\u0026\u0026!(t(\u0022Trident\u0022)||t(\u0022MSIE\u0022))\u0026\u0026!t(\u0022Edge\u0022),C=-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022);function D(){var a=d.document;return a?a.documentMode:void 0}var E;\na:{var F=\u0022\u0022,G=function(){var a=p;if(B)return/rv:([^\\);]\u002B)(\\)|;)/.exec(a);if(A)return/Edge\\/([\\d\\.]\u002B)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]\u002B)(\\)|;)/.exec(a);if(C)return/WebKit\\/(\\S\u002B)/.exec(a);if(y)return/(?:Version)[ \\/]?(\\S\u002B)/.exec(a)}();G\u0026\u0026(F=G?G[1]:\u0022\u0022);if(z){var H=D();if(null!=H\u0026\u0026H\u003EparseFloat(F)){E=String(H);break a}}E=F}var I;I=d.document\u0026\u0026z?D():void 0;var J=u(),K=w()||t(\u0022iPod\u0022),L=t(\u0022iPad\u0022),M=t(\u0022Android\u0022)\u0026\u0026!(v()||u()||t(\u0022Opera\u0022)||t(\u0022Silk\u0022)),N=v(),aa=t(\u0022Safari\u0022)\u0026\u0026!(v()||t(\u0022Coast\u0022)||t(\u0022Opera\u0022)||t(\u0022Edge\u0022)||t(\u0022Edg/\u0022)||t(\u0022OPR\u0022)||u()||t(\u0022Silk\u0022)||t(\u0022Android\u0022))\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022));function O(a){return(a=a.exec(p))?a[1]:\u0022\u0022}(function(){if(J)return O(/Firefox\\/([0-9.]\u002B)/);if(z||A||y)return E;if(N)return w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)?O(/CriOS\\/([0-9.]\u002B)/):O(/Chrome\\/([0-9.]\u002B)/);if(aa\u0026\u0026!(w()||t(\u0022iPad\u0022)||t(\u0022iPod\u0022)))return O(/Version\\/([0-9.]\u002B)/);if(K||L){var a=/Version\\/(\\S\u002B).*Mobile\\/(\\S\u002B)/.exec(p);if(a)return a[1]\u002B\u0022.\u0022\u002Ba[2]}else if(M)return(a=O(/Android\\s\u002B([0-9.]\u002B)/))?a:O(/Version\\/([0-9.]\u002B)/);return\u0022\u0022})();var P=z\u0026\u0026!(8\u003C=Number(I)),ba=z\u0026\u0026!(9\u003C=Number(I));var ca={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Q={IMG:\u0022 \u0022,BR:\u0022\\n\u0022};function R(a,b,c){if(!(a.nodeName in ca))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\u0022\u0022)):b.push(a.nodeValue);else if(a.nodeName in Q)b.push(Q[a.nodeName]);else for(a=a.firstChild;a;)R(a,b,c),a=a.nextSibling};function S(a,b){b=b.toLowerCase();return\u0022style\u0022==b?da(a.style.cssText):P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022INPUT\u0022)?a.value:ba\u0026\u0026!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ea=/[;]\u002B(?=(?:(?:[^\u0022]*\u0022){2})*[^\u0022]*$)(?=(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction da(a){var b=[];k(a.split(ea),function(c){var e=c.indexOf(\u0022:\u0022);0\u003Ce\u0026\u0026(c=[c.slice(0,e),c.slice(e\u002B1)],2==c.length\u0026\u0026b.push(c[0].toLowerCase(),\u0022:\u0022,c[1],\u0022;\u0022))});b=b.join(\u0022\u0022);return b=\u0022;\u0022==b.charAt(b.length-1)?b:b\u002B\u0022;\u0022}function U(a,b){P\u0026\u0026\u0022value\u0022==b\u0026\u0026T(a,\u0022OPTION\u0022)\u0026\u0026null===S(a,\u0022value\u0022)?(b=[],R(a,b,!1),a=b.join(\u0022\u0022)):a=a[b];return a}\nfunction T(a,b){b\u0026\u0026\u0022string\u0022!==typeof b\u0026\u0026(b=b.toString());return a instanceof HTMLFormElement?!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||\u0022FORM\u0022==b):!!a\u0026\u00261==a.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()==b)}function V(a){return T(a,\u0022OPTION\u0022)?!0:T(a,\u0022INPUT\u0022)?(a=a.type.toLowerCase(),\u0022checkbox\u0022==a||\u0022radio\u0022==a):!1};var fa={\u0022class\u0022:\u0022className\u0022,readonly:\u0022readOnly\u0022},ha=\u0022allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate\u0022.split(\u0022 \u0022);function W(a,b){var c=null,e=b.toLowerCase();if(\u0022style\u0022==e)return(c=a.style)\u0026\u0026\u0022string\u0022!=typeof c\u0026\u0026(c=c.cssText),c;if((\u0022selected\u0022==e||\u0022checked\u0022==e)\u0026\u0026V(a)){if(!V(a))throw new l(15,\u0022Element is not selectable\u0022);b=\u0022selected\u0022;c=a.type\u0026\u0026a.type.toLowerCase();if(\u0022checkbox\u0022==c||\u0022radio\u0022==c)b=\u0022checked\u0022;return U(a,b)?\u0022true\u0022:null}var g=T(a,\u0022A\u0022);if(T(a,\u0022IMG\u0022)\u0026\u0026\u0022src\u0022==e||g\u0026\u0026\u0022href\u0022==e)return(c=S(a,e))\u0026\u0026(c=U(a,e)),c;if(\u0022spellcheck\u0022==e){c=S(a,e);if(null!==c){if(\u0022false\u0022==c.toLowerCase())return\u0022false\u0022;if(\u0022true\u0022==c.toLowerCase())return\u0022true\u0022}return U(a,\ne)\u002B\u0022\u0022}g=fa[b]||b;if(0\u003C=h(ha,e))return(c=null!==S(a,b)||U(a,g))?\u0022true\u0022:null;try{var x=U(a,g)}catch(ia){}(e=null==x)||(e=typeof x,e=\u0022object\u0022==e\u0026\u0026null!=x||\u0022function\u0022==e);e?c=S(a,b):c=x;return null!=c?c.toString():null}var X=[\u0022_\u0022],Y=d;X[0]in Y||\u0022undefined\u0022==typeof Y.execScript||Y.execScript(\u0022var \u0022\u002BX[0]);for(var Z;X.length\u0026\u0026(Z=X.shift());)X.length||void 0===W?Y[Z]\u0026\u0026Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=W;; return this._.apply(null,arguments);}).apply({navigator:typeof window!=\u0027undefined\u0027?window.navigator:null,document:typeof window!=\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.B4CB0B3E884DB623FD1C472335A8FCE3.d.8C88064417FCFB628D8F468B26E1D3DC.e.7"},"type"]}
...
3225: => OpenQA.Selenium.ShadowRootHandlingTest3226: Creating new driver of OpenQA.Selenium.Edge.StableChannelEdgeDriver type...3227: => OpenQA.Selenium.AssemblyFixture3228: 00:25:37.111 DEBUG HttpCommandExecutor: Executing command: [9a32dc780ce818525fadf96cc6cc275f]: quit {}3229: 00:25:37.111 TRACE HttpCommandExecutor: >> DELETE RequestUri: http://localhost:32979/session/9a32dc780ce818525fadf96cc6cc275f, Content: null, Headers: 23230: 00:25:37.167 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13231: 00:25:37.168 DEBUG HttpCommandExecutor: Response: ( Success: )3232: Standalone jar is /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild-ST-d67017d35e85/bin/dotnet/test/common/ShadowRootHandlingTest-edge/net8.0/WebDriver.Common.Tests.dll.sh.runfiles/_main/java/test/org/openqa/selenium/environment/appserver 341673233: Errors, Failures and Warnings3234: 1) Failed : OpenQA.Selenium.ShadowRootHandlingTest.ShouldThrowGettingShadowRootWithElementNotHavingShadowRoot3235: Expected: instance of <OpenQA.Selenium.NoSuchShadowRootException>3236: But was: no exception thrown3237: at OpenQA.Selenium.ShadowRootHandlingTest.ShouldThrowGettingShadowRootWithElementNotHavingShadowRoot()3238: Run Settings3239: Number of Test Workers: 23240: Work Directory: /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild-ST-d67017d35e85/bin/dotnet/test/common/ShadowRootHandlingTest-edge/net8.0/WebDriver.Common.Tests.dll.sh.runfiles/_main3241: Internal Trace: Off3242: Test Run Summary3243: Overall result: Failed3244: Test Count: 5, Passed: 4, Failed: 1, Warnings: 0, Inconclusive: 0, Skipped: 03245: Failed Tests - Failures: 1, Errors: 0, Invalid: 03246: Start time: 2024-11-22 00:25:31Z3247: End time: 2024-11-22 00:25:38Z3248: Duration: 6.715 seconds3249: Results (nunit3) saved as /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild-ST-d67017d35e85/bin/dotnet/test/common/ShadowRootHandlingTest-edge/net8.0/WebDriver.Common.Tests.dll.sh.runfiles/_main/TestResult.xml3250: Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChCgHfMQ0UNCiqLjEC0JFA-PEgdkZWZhdWx0GiUKIJaJxWrPaKfOr3F_-LeUu-knqGiI7pTTwTGCAhFs4hK4EJ8D3251: ================================================================================3252: (00:26:16) �[32m[14,456 / 15,331]�[0m 959 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 128s remote, remote-cache ... (50 actions, 29 running)3253: (00:26:21) �[32m[14,461 / 15,332]�[0m 963 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 133s remote, remote-cache ... (50 actions, 27 running)3254: (00:26:27) �[32m[14,464 / 15,335]�[0m 964 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 139s remote, remote-cache ... (50 actions, 28 running)3255: (00:26:33) �[32m[14,468 / 15,336]�[0m 967 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 145s remote, remote-cache ... (50 actions, 29 running)3256: (00:26:38) �[32m[14,470 / 15,336]�[0m 969 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 150s remote, remote-cache ... (50 actions, 31 running)3257: (00:26:44) �[32m[14,471 / 15,336]�[0m 970 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 156s remote, remote-cache ... (50 actions, 33 running)3258: (00:26:50) �[32m[14,477 / 15,336]�[0m 976 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 162s remote, remote-cache ... (50 actions, 35 running)3259: (00:26:55) �[32m[14,482 / 15,338]�[0m 981 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 167s remote, remote-cache ... (50 actions, 37 running)3260: (00:27:00) �[32m[14,490 / 15,338]�[0m 987 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 172s remote, remote-cache ... (50 actions, 36 running)3261: (00:27:05) �[32m[14,494 / 15,338]�[0m 991 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 177s remote, remote-cache ... (50 actions, 34 running)3262: (00:27:11) �[32m[14,496 / 15,340]�[0m 992 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 182s remote, remote-cache ... (50 actions, 35 running)3263: (00:27:16) �[32m[14,501 / 15,341]�[0m 996 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 188s remote, remote-cache ... (50 actions, 34 running)3264: (00:27:21) �[32m[14,512 / 15,341]�[0m 1008 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 78s remote, remote-cache ... (50 actions, 30 running)3265: (00:27:27) �[32m[14,521 / 15,343]�[0m 1015 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 84s remote, remote-cache ... (50 actions, 28 running)3266: (00:27:33) �[32m[14,525 / 15,345]�[0m 1017 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 90s remote, remote-cache ... (50 actions, 31 running)3267: (00:27:38) �[32m[14,534 / 15,345]�[0m 1026 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 95s remote, remote-cache ... (50 actions, 25 running)3268: (00:27:45) �[32m[14,542 / 15,347]�[0m 1030 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 102s remote, remote-cache ... (50 actions, 26 running)3269: (00:27:50) �[32m[14,545 / 15,349]�[0m 1032 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 107s remote, remote-cache ... (50 actions, 27 running)3270: (00:27:55) �[32m[14,552 / 15,351]�[0m 1037 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 112s remote, remote-cache ... (50 actions, 32 running)3271: (00:28:00) �[32m[14,559 / 15,357]�[0m 1040 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 117s remote, remote-cache ... (50 actions, 34 running)3272: (00:28:06) �[32m[14,570 / 15,360]�[0m 1047 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 122s remote, remote-cache ... (50 actions, 34 running)3273: (00:28:11) �[32m[14,586 / 15,362]�[0m 1061 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UnexpectedAlertBehaviorTest-firefox; 128s remote, remote-cache ... (50 actions, 33 running)3274: (00:28:16) �[32m[14,597 / 15,366]�[0m 1068 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-chrome; 68s remote, remote-cache ... (50 actions, 32 running)3275: (00:28:21) �[32m[14,602 / 15,367]�[0m 1072 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-chrome; 73s remote, remote-cache ... (50 actions, 32 running)3276: (00:28:22) �[31m�[1mFAIL: �[0m//dotnet/test/common:ShadowRootHandlingTest-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild-ST-d67017d35e85/testlogs/dotnet/test/common/ShadowRootHandlingTest-chrome/test_attempts/attempt_1.log)3277: (00:28:26) �[32m[14,613 / 15,369]�[0m 1082 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:CorrectEventFiringTest-firefox; 50s remote, remote-cache ... (50 actions, 31 running)3278: (00:28:32) �[32m[14,622 / 15,373]�[0m 1087 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:CorrectEventFiringTest-firefox; 55s remote, remote-cache ... (50 actions, 33 running)3279: (00:28:37) �[32m[14,637 / 15,376]�[0m 1098 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:CorrectEventFiringTest-firefox; 61s remote, remote-cache ... (50 actions, 25 running)3280: (00:28:42) �[32m[14,646 / 15,382]�[0m 1101 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:CorrectEventFiringTest-firefox; 66s remote, remote-cache ... (50 actions, 26 running)3281: (00:28:47) �[32m[14,656 / 15,388]�[0m 1108 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UploadTest-firefox; 52s remote, remote-cache ... (50 actions, 24 running)3282: (00:28:53) �[32m[14,662 / 15,406]�[0m 1112 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UploadTest-firefox; 58s remote, remote-cache ... (49 actions, 26 running)3283: (00:28:58) �[32m[14,673 / 15,483]�[0m 1116 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UploadTest-firefox; 63s remote, remote-cache ... (50 actions, 29 running)3284: (00:29:03) �[32m[14,679 / 15,488]�[0m 1118 / 2148 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:UploadTest-firefox; 68s remote, remote-cache ... (50 actions, 34 running)3285: (00:29:06) �[31m�[1mFAIL: �[0m//dotnet/test/common:ShadowRootHandlingTest-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild-ST-d67017d35e85/testlogs/dotnet/test/common/ShadowRootHandlingTest-chrome/test.log)3286: �[31m�[1mFAILED: �[0m//dotnet/test/common:ShadowRootHandlingTest-chrome (Summary)
...
3344: 00:28:20.086 TRACE HttpCommandExecutor: >> GET RequestUri: http://localhost:46547/session/ed1db4bffa3b30737b1a026b9224e2d8/element/f.6085D9DE97D157AD1D9DA014AC4B8ACB.d.5AB1866AF977B4770022AAEE0CF2EC89.e.9/shadow, Content: null, Headers: 33345: 00:28:20.091 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13346: 00:28:20.092 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])3347: 00:28:20.093 DEBUG HttpCommandExecutor: Executing command: [ed1db4bffa3b30737b1a026b9224e2d8]: findShadowChildElement {"id":"f.6085D9DE97D157AD1D9DA014AC4B8ACB.d.5AB1866AF977B4770022AAEE0CF2EC89.e.10","using":"css selector","value":"input"}3348: 00:28:20.093 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:46547/session/ed1db4bffa3b30737b1a026b9224e2d8/shadow/f.6085D9DE97D157AD1D9DA014AC4B8ACB.d.5AB1866AF977B4770022AAEE0CF2EC89.e.10/element, Content: System.Net.Http.ByteArrayContent, Headers: 23349: {"using":"css selector","value":"input"}3350: 00:28:20.116 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 13351: 00:28:20.116 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
3352: 00:28:20.119 DEBUG HttpCommandExecutor: Executing command: [ed1db4bffa3b30737b1a026b9224e2d8]: executeScript {"script":"/* get-attribute */return (function(){return (function(){var d=this||self;function f(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var h=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(\u0022string\u0022===typeof a)return\u0022string\u0022!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c\u003Ca.length;c\u002B\u002B)if(c in a\u0026\u0026a[c]===b)return c;return-1},k=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=\u0022string\u0022===typeof a?a.split(\u0022\u0022):a,g=0;g\u003Cc;g\u002B\u002B)g in e\u0026\u0026b.call(void 0,e[g],g,a)};function l(a,b){this.code=a;this.a=m[a]||n;this.message=b||\u0022\u0022;a=this.a.replace(/((?:^|\\s\u002B)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\\s\\xa0]\u002B/g,\u0022\u0022)});b=a.length-5;if(0\u003Eb||a.indexOf(\u0022Error\u0022,b)!=b)a\u002B=\u0022Error\u0022;this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\u0022\u0022}f(l,Error);var n=\u0022unknown error\u0022,m={15:\u0022element not selectable\u0022,11:\u0022element not visible\u0022};m[31]=n;m[30]=n;m[24]=\u0022invalid cookie domain\u0022;m[29]=\u0022invalid element coordinates\u0022;m[12]=\u0022invalid element state\u0022;m[32]=\u0022invalid selector\u0022;\nm[51]=\u0022invalid selector\u0022;m[52]=\u0022invalid selector\u0022;m[17]=\u0022javascript error\u0022;m[405]=\u0022unsupported operation\u0022;m[34]=\u0022move target out of bounds\u0022;m[27]=\u0022no such alert\u0022;m[7]=\u0022no such element\u0022;m[8]=\u0022no such frame\u0022;m[23]=\u0022no such window\u0022;m[28]=\u0022script timeout\u0022;m[33]=\u0022session not created\u0022;m[10]=\u0022stale element reference\u0022;m[21]=\u0022timeout\u0022;m[25]=\u0022unable to set cookie\u0022;m[26]=\u0022unexpected alert open\u0022;m[13]=n;m[9]=\u0022unknown command\u0022;var p;a:{var q=d.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=\u0022\u0022}function t(a){return-1!=p.indexOf(a)};function u(){return t(\u0022Firefox\u0022)||t(\u0022FxiOS\u0022)}function v(){return(t(\u0022Chrome\u0022)||t(\u0022CriOS\u0022))\u0026\u0026!t(\u0022Edge\u0022)};function w(){return t(\u0022iPhone\u0022)\u0026\u0026!t(\u0022iPod\u0022)\u0026\u0026!t(\u0022iPad\u0022)};var y=t(\u0022Opera\u0022),z=t(\u0022Trident\u0022)||t(\u0022MSIE\u0022),A=t(\u0022Edge\u0022),B=t(\u0022Gecko\u0022)\u0026\u0026!(-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022))\u0026\u0026!(t(\u0022Trident\u0022)||t(\u0022MSIE\u0022))\u0026\u0026!t(\u0022Edge\u0022),C=-1!=p.toLowerCase().indexOf(\u0022webkit\u0022)\u0026\u0026!t(\u0022Edge\u0022);function D(){var a=d.document;return a?a.documentMode:void 0}var E;\na:{var F=\u0022\u0022,G=function(){var a=p;if(B)return/rv:([^\\);]\u002B)(\\)|;)/.exec(a);if(A)return/Edge\\/([\\d\\.]\u002B)/.exec(a);if(z)return/\\b(?:MSIE|rv)[: ]([^\\);]\u002B)(\\)|;)/.exec(a);if(C)return/WebKit\\/(\\S\u002B)/.exec(a);if(y)return/(?:Version)[ \\/]?(\\S\u002B)/.exec(a)}();G\u0026\u0026(F=G?G[1]:\u0022\u0022);if(z){var H=D();if(null!=H\u0026\u0026H\u003EparseFloat(F)){E=String(H);break a}}E=F}var I;I=d.document\u0026\u0026z?D():void 0;var J=u(),K=w()||t(\u0022iPod\u0022),L=t(\u0022iPad\u0022),M=t(\u0022Android\u0022)\u0026\u0026!(v()||u()||t(\u0022Opera\u0022)||t(\u0022Silk\u0022)),N=v(),aa=t(\u0022Safari\u0022)\u0026\u0026!(v()||t(\u0022Coast\u0022)||t(\u0022Opera\u0022)||t(\u0022Edge\u0022)||t(\u0022Edg/\u0022)||t(\u...
With this change, what happens to the stacktraces that are sent from the remote end? The ErrorHandler deserialised those and made them available as the root cause of a WebDriverException that was thrown.
@shs96c i do not think decoding of stacktraces is working at all:
The response will be decoded by the W3CHttpResponseCodec before the ErrorHandler will be called. The ErrorHandler will only see the decoded Throwable in the response.getValue and raise the Throwable without adding the stack.
The decoding part does look for class and stackTrace (see first lines of rebuildServerError) and the encoding code (by the ErrorFilter using the ErrorCodec) does not set class and uses stacktrace (lowercase T) for the stack. The webdrivers should not set them too, so the code inside rebuildServerError should not be reached.
The ErrorHandler does expect a List<Map<String, Object>> inside the stackTrace to decode it. The value of stacktrace is a String, so this is not only a typo and there is no easy way to use the old code.
All 28 Ruby integration tests for Edge remote WebDriver failed due to network timeout issues. The tests consistently failed with Net::ReadTimeout errors when trying to create WebDriver sessions. The error occurs in ./rb/lib/selenium/webdriver/remote/bridge.rb:76 during the create_session method call. This appears to be a systematic infrastructure issue where the Ruby WebDriver client cannot establish connections to the remote Selenium Grid server, likely due to network connectivity problems or the Selenium server being unavailable/unresponsive.
Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
394: Received 274588291 of 274588291 (100.0%), 147.6 MBs/sec395: Cache Size: ~262 MB (274588291 B)396: [command]"C:\Program Files\Git\usr\bin\tar.exe" -xf D:/a/_temp/01ae4591-ad87-4d28-97bd-e68b42304b64/cache.tzst -P -C D:/a/selenium/selenium --force-local --use-compress-program "zstd -d"397: Cache restored successfully398: Successfully restored cache from setup-bazel-2-win32-disk-rb-remote-edge-windows-test-b79b12e77c06ad4f4622b359f387c794eaaf5156d11fd16fffc44a09bd87369a399: ##[endgroup]400: ##[group]Restore cache for repository401: Cache hit for: setup-bazel-2-win32-repository-1e5b6db587395b6d6b41f01a260e35378c3b2a2341392533552e1d5ba894ab0b402: Received 32049405 of 32049405 (100.0%), 167.0 MBs/sec403: Cache Size: ~31 MB (32049405 B)404: [command]"C:\Program Files\Git\usr\bin\tar.exe" -xf D:/a/_temp/fa1c7074-27b5-41e7-9811-860deb6fbc86/cache.tzst -P -C D:/a/selenium/selenium --force-local --use-compress-program "zstd -d"405: Cache restored successfully406: Successfully restored cache from setup-bazel-2-win32-repository-1e5b6db587395b6d6b41f01a260e35378c3b2a2341392533552e1d5ba894ab0b407: ##[endgroup]408: ##[group]Restore cache for external-rb-remote-edge-windows-test-manifest409: Failed to restore external-rb-remote-edge-windows-test-manifest cache410: ##[endgroup]
...
498: �[33mDEBUG: �[0mRepository rules_ruby++ruby+bundle instantiated at:499: <builtin>: in <toplevel>500: Repository rule rb_bundle_fetch defined at:501: D:/_bazel/external/rules_ruby+/ruby/private/bundle_fetch.bzl:258:34: in <toplevel>502: �[33mDEBUG: �[0mD:/_bazel/external/aspect_rules_js+/npm/private/npm_translate_lock_state.bzl:27:14: 503: WARNING: `update_pnpm_lock` attribute in `npm_translate_lock(name = "npm")` is not yet supported on Windows. This feature504: will be disabled for this build.505: �[32mAnalyzing:�[0m 28 targets (235 packages loaded, 3925 targets configured)506: �[33mDEBUG: �[0mD:/_bazel/external/aspect_rules_js+/npm/private/npm_translate_lock_state.bzl:27:14: 507: WARNING: `update_pnpm_lock` attribute in `npm_translate_lock(name = "aspect_rules_js++npm+npm")` is not yet supported on Windows. This feature508: will be disabled for this build.509: �[32mAnalyzing:�[0m 28 targets (240 packages loaded, 4422 targets configured)510: �[32mAnalyzing:�[0m 28 targets (249 packages loaded, 4454 targets configured)511: �[33mDEBUG: �[0mD:/_bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:512: com.google.code.findbugs:jsr305513: com.google.errorprone:error_prone_annotations514: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
555: -> Locally signed 5 keys.556: ==> Importing owner trust values...557: gpg: setting ownertrust to 4558: gpg: setting ownertrust to 4559: gpg: setting ownertrust to 4560: gpg: setting ownertrust to 4561: gpg: setting ownertrust to 4562: ==> Disabling revoked keys in keyring...563: -> Disabled 4 keys.564: ==> Updating trust database...565: gpg: marginals needed: 3 completes needed: 1 trust model: pgp566: gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u567: gpg: depth: 1 valid: 5 signed: 7 trust: 0-, 0q, 0n, 5m, 0f, 0u568: gpg: depth: 2 valid: 4 signed: 2 trust: 4-, 0q, 0n, 0m, 0f, 0u569: gpg: next trustdb check due at 2025-08-13570: gpg: error retrieving '[email protected]' via WKD: No data571: gpg: error reading key: No data572: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com573: gpg: key F40D263ECA25678A: "Alexey Pavlov (Alexpux) <[email protected]>" not changed574: gpg: Total number processed: 1575: gpg: unchanged: 1576: gpg: error retrieving '[email protected]' via WKD: No data577: gpg: error reading key: No data578: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com579: gpg: key 790AE56A1D3CFDDC: "David Macek (MSYS2 master key) <[email protected]>" not changed580: gpg: Total number processed: 1581: gpg: unchanged: 1582: gpg: error retrieving '[email protected]' via WKD: No data583: gpg: error reading key: No data584: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com585: gpg: key DA7EF2ABAEEA755C: "Martell Malone (martell) <[email protected]>" not changed586: gpg: Total number processed: 1587: gpg: unchanged: 1588: gpg: error retrieving '[email protected]' via WKD: No data589: gpg: error reading key: No data590: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com591: gpg: key 755B8182ACD22879: "Christoph Reiter (MSYS2 master key) <[email protected]>" not changed592: gpg: Total number processed: 1593: gpg: unchanged: 1594: gpg: error retrieving '[email protected]' via WKD: No data595: gpg: error reading key: No data596: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com597: gpg: key 9F418C233E652008: "Ignacio Casal Quinteiro <[email protected]>" not changed598: gpg: Total number processed: 1599: gpg: unchanged: 1600: gpg: error retrieving '[email protected]' via WKD: No data601: gpg: error reading key: No data602: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com603: gpg: key BBE514E53E0D0813: "Ray Donnelly (MSYS2 Developer - master key) <[email protected]>" not changed604: gpg: Total number processed: 1605: gpg: unchanged: 1606: gpg: error retrieving '[email protected]' via WKD: No data607: gpg: error reading key: No data608: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com609: gpg: key 5F92EFC1A47D45A1: "Alexey Pavlov (Alexpux) <[email protected]>" not changed610: gpg: Total number processed: 1611: gpg: unchanged: 1612: gpg: error retrieving '[email protected]' via WKD: No data613: gpg: error reading key: No data614: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com615: gpg: key 974C8BE49078F532: "David Macek <[email protected]>" 3 new signatures616: gpg: key 974C8BE49078F532: "David Macek <[email protected]>" 1 signature cleaned617: gpg: Total number processed: 1618: gpg: new signatures: 3619: gpg: signatures cleaned: 1620: gpg: marginals needed: 3 completes needed: 1 trust model: pgp621: gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u622: gpg: depth: 1 valid: 5 signed: 7 trust: 0-, 0q, 0n, 5m, 0f, 0u623: gpg: depth: 2 valid: 4 signed: 2 trust: 4-, 0q, 0n, 0m, 0f, 0u624: gpg: next trustdb check due at 2025-12-16625: gpg: error retrieving '[email protected]' via WKD: No data626: gpg: error reading key: No data627: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com628: gpg: key FA11531AA0AA7F57: "Christoph Reiter (MSYS2 development key) <[email protected]>" not changed629: gpg: Total number processed: 1630: gpg: unchanged: 1631: gpg: error retrieving '[email protected]' via WKD: Unknown host632: gpg: error reading key: Unknown host633: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com634: gpg: key 794DCF97F93FC717: "Martell Malone (martell) <[email protected]>" not changed635: gpg: Total number processed: 1636: gpg: unchanged: 1637: gpg: error retrieving '[email protected]' via WKD: No data638: gpg: error reading key: No data639: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com640: gpg: key D595C9AB2C51581E: "Martell Malone (MSYS2 Developer) <[email protected]>" not changed641: gpg: Total number processed: 1642: gpg: unchanged: 1643: gpg: error retrieving '[email protected]' via WKD: No data644: gpg: error reading key: No data645: gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
...
948: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'949: �[32mINFO: �[0mFrom Compiling absl/strings/internal/cord_rep_btree_navigator.cc [for tool]:950: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'951: �[32mINFO: �[0mFrom Compiling absl/strings/internal/cord_rep_btree.cc [for tool]:952: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'953: �[32mINFO: �[0mFrom Compiling absl/strings/internal/cord_internal.cc [for tool]:954: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'955: �[32mINFO: �[0mFrom Compiling absl/strings/internal/cordz_info.cc [for tool]:956: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'957: �[32mINFO: �[0mFrom Compiling absl/strings/cord_buffer.cc [for tool]:958: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'959: �[32mINFO: �[0mFrom Compiling absl/strings/cord_analysis.cc [for tool]:960: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'961: �[32mINFO: �[0mFrom Compiling absl/strings/cord.cc [for tool]:962: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'963: �[32mINFO: �[0mFrom Compiling absl/base/internal/strerror.cc [for tool]:964: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
...
1236: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1237: �[32mINFO: �[0mFrom Compiling src/google/protobuf/compiler/rust/rust_field_type.cc [for tool]:1238: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1239: �[32mINFO: �[0mFrom Compiling src/google/protobuf/compiler/objectivec/helpers.cc [for tool]:1240: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1241: �[32mINFO: �[0mFrom Compiling upb_generator/minitable/names_internal.cc [for tool]:1242: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1243: �[32mINFO: �[0mFrom Compiling upb_generator/common/names.cc [for tool]:1244: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1245: �[32mINFO: �[0mFrom Compiling src/google/protobuf/compiler/objectivec/import_writer.cc [for tool]:1246: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1247: �[32mINFO: �[0mFrom Compiling src/google/protobuf/compiler/rust/upb_helpers.cc [for tool]:1248: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1249: �[32mINFO: �[0mFrom Compiling src/google/protobuf/compiler/objectivec/map_field.cc [for tool]:1250: cl : Command line warning D9002 : ignoring unknown option '-std=c++14'1251: �[32m[1,428 / 2,257]�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver:error-edge-remote; 0s local ... (4 actions, 2 running)1252: �[32mINFO: �[0mFrom Compiling upb_generator/minitable/names.cc [for tool]:
...
1699: external\protobuf+\java\core\src\main\java\com\google\protobuf\UnsafeUtil.java:270: warning: [removal] AccessController in java.security has been deprecated and marked for removal1700: AccessController.doPrivileged(1701: ^1702: �[32m[2,046 / 2,275]�[0m Extracting npm package @mui/[email protected]_60647716; 2s disk-cache ... (4 actions, 1 running)1703: �[32m[2,148 / 2,275]�[0m Extracting npm package @mui/[email protected]_60647716; 3s disk-cache ... (4 actions, 1 running)1704: �[32m[2,150 / 2,275]�[0m [Prepa] RunBinary rb/lib/selenium/devtools/v136.rb ... (3 actions, 2 running)1705: �[32m[2,151 / 2,275]�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (64 source files); 1s disk-cache, multiplex-worker ... (4 actions, 2 running)1706: �[32mINFO: �[0mFrom PackageZip javascript/grid-ui/react-zip.jar:1707: C:\Users\RUNNER~1\AppData\Local\Temp\Bazel.runfiles_8avp9r7l\runfiles\rules_python++python+python_3_9_x86_64-pc-windows-msvc\lib\zipfile.py:1522: UserWarning: Duplicate name: 'grid-ui/'1708: return self._open_to_write(zinfo, force_zip64=force_zip64)1709: �[32m[2,154 / 2,275]�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (64 source files); 2s disk-cache, multiplex-worker ... (4 actions, 2 running)1710: �[32m[2,154 / 2,275]�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (64 source files); 3s disk-cache, multiplex-worker ... (4 actions, 3 running)1711: �[32m[2,156 / 2,275]�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (64 source files); 4s disk-cache, multiplex-worker ... (4 actions, 3 running)1712: �[32m[2,158 / 2,275]�[0m Building java/src/org/openqa/selenium/remote/libapi-class.jar (64 source files); 5s disk-cache, multiplex-worker ... (4 actions, 2 running)1713: �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (64 source files):1714: java\src\org\openqa\selenium\remote\Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1715: ErrorCodes errorCodes = new ErrorCodes();1716: ^1717: java\src\org\openqa\selenium\remote\Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1718: ErrorCodes errorCodes = new ErrorCodes();1719: ^1720: java\src\org\openqa\selenium\remote\ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1721: response.setStatus(ErrorCodes.SUCCESS);1722: ^1723: java\src\org\openqa\selenium\remote\ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1724: response.setState(ErrorCodes.SUCCESS_STRING);1725: ^1726: java\src\org\openqa\selenium\remote\W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1727: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1728: ^1729: java\src\org\openqa\selenium\remote\W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1730: new ErrorCodes().getExceptionType((String) rawError);1731: ^1732: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1733: private final ErrorCodes errorCodes = new ErrorCodes();1734: ^1735: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1736: private final ErrorCodes errorCodes = new ErrorCodes();1737: ^1738: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1739: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1740: ^1741: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1742: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1743: ^1744: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1745: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1746: ^1747: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1748: response.setStatus(ErrorCodes.SUCCESS);1749: ^1750: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1751: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1752: ^1753: java\src\org\openqa\selenium\remote\codec\AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1754: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1755: ^1756: java\src\org\openqa\selenium\remote\codec\w3c\W3CHttpResponseCodec.java:69: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1757: private final ErrorCodes errorCodes = new ErrorCodes();1758: ^1759: java\src\org\openqa\selenium\remote\codec\w3c\W3CHttpResponseCodec.java:69: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1760: private final ErrorCodes errorCodes = new ErrorCodes();1761: ^1762: java\src\org\openqa\selenium\remote\codec\w3c\W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1763: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1764: ^1765: java\src\org\openqa\selenium\remote\codec\w3c\W3CHttpResponseCodec.java:141: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1766: response.setStatus(ErrorCodes.SUCCESS);1767: ^
...
1975: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 371s local, disk-cache ... (4 actions running)1976: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 421s local, disk-cache ... (4 actions running)1977: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/edge:profile-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote/test_attempts/attempt_2.log)1978: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 422s local, disk-cache ... (4 actions running)1979: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 431s local, disk-cache ... (4 actions running)1980: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 490s local, disk-cache ... (4 actions running)1981: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/edge:service-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/service-edge-remote/test_attempts/attempt_2.log)1982: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 492s local, disk-cache ... (4 actions running)1983: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 551s local, disk-cache ... (4 actions running)1984: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 560s local, disk-cache ... (4 actions running)1985: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:select-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-edge-remote/test_attempts/attempt_2.log)1986: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 561s local, disk-cache ... (4 actions running)1987: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 611s local, disk-cache ... (4 actions running)1988: �[32m[2,275 / 2,297]�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote; 630s local, disk-cache ... (4 actions running)1989: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote/test.log)1990: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote (Summary)1991: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote/test.log1992: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote/test_attempts/attempt_1.log1993: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote/test_attempts/attempt_2.log1994: �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote:1995: ==================== Test output for //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote:1996: 2025-07-16 18:50:02 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar1997: Running Ruby specs:1998: An error occurred in a `before(:suite)` hook.1999: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2000: Net::ReadTimeout:
...
2006: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2007: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2008: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2009: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2010: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2011: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2012: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2013: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2014: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2015: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2016: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2017: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2018: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2019: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2020: Finished in 1 minute 5.44 seconds (files took 0.90341 seconds to load)2021: 0 examples, 0 failures, 1 error occurred outside of examples2022: ================================================================================2023: ==================== Test output for //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote:2024: 2025-07-16 18:54:44 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2025: Running Ruby specs:2026: An error occurred in a `before(:suite)` hook.2027: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2028: Net::ReadTimeout:
...
2034: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2035: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2036: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2037: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2038: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2039: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2040: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2041: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2042: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2043: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2044: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2045: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2046: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2047: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2048: Finished in 1 minute 2.2 seconds (files took 0.88147 seconds to load)2049: 0 examples, 0 failures, 1 error occurred outside of examples2050: ================================================================================2051: ==================== Test output for //rb/spec/integration/selenium/webdriver:virtual_authenticator-edge-remote:2052: 2025-07-16 18:59:23 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/virtual_authenticator-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2053: Running Ruby specs:2054: An error occurred in a `before(:suite)` hook.2055: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2056: Net::ReadTimeout:
...
2062: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2063: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2064: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2065: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2066: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2067: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2068: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2069: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2070: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2071: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2072: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2073: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2074: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2075: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2076: Finished in 1 minute 2.2 seconds (files took 0.89853 seconds to load)2077: 0 examples, 0 failures, 1 error occurred outside of examples2078: ================================================================================2079: �[32m[2,276 / 2,297]�[0m 1 / 28 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote; 559s local, disk-cache ... (4 actions, 3 running)2080: �[32m[2,276 / 2,297]�[0m 1 / 28 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote; 568s local, disk-cache ... (4 actions, 3 running)2081: �[32m[2,276 / 2,297]�[0m 1 / 28 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote; 570s local, disk-cache ... (4 actions, 3 running)2082: �[32m[2,276 / 2,297]�[0m 1 / 28 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote; 598s local, disk-cache ... (4 actions, 3 running)2083: �[32m[2,276 / 2,297]�[0m 1 / 28 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote; 627s local, disk-cache ... (4 actions, 3 running)2084: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/edge:profile-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote/test.log)2085: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver/edge:profile-edge-remote (Summary)2086: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote/test.log2087: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote/test_attempts/attempt_1.log2088: ==================== Test output for //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote:2089: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote/test_attempts/attempt_2.log2090: �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote:2091: 2025-07-16 18:51:15 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2092: Running Ruby specs:2093: An error occurred in a `before(:suite)` hook.2094: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2095: Net::ReadTimeout:
...
2101: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2102: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2103: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2104: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2105: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2106: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2107: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2108: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2109: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2110: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2111: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2112: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2113: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2114: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2115: Finished in 1 minute 2.19 seconds (files took 0.93491 seconds to load)2116: 0 examples, 0 failures, 1 error occurred outside of examples2117: ================================================================================2118: ==================== Test output for //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote:2119: 2025-07-16 18:55:53 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2120: Running Ruby specs:2121: An error occurred in a `before(:suite)` hook.2122: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2123: Net::ReadTimeout:
...
2129: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2130: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2131: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2132: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2133: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2134: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2135: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2136: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2137: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2138: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2139: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2140: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2141: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2142: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2143: Finished in 1 minute 2.17 seconds (files took 0.88639 seconds to load)2144: 0 examples, 0 failures, 1 error occurred outside of examples2145: ================================================================================2146: ==================== Test output for //rb/spec/integration/selenium/webdriver/edge:profile-edge-remote:2147: 2025-07-16 19:00:33 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/edge/profile-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2148: Running Ruby specs:2149: An error occurred in a `before(:suite)` hook.2150: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2151: Net::ReadTimeout:
...
2157: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2158: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2159: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2160: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2161: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2162: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2163: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2164: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2165: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2166: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2167: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2168: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2169: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2170: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2171: Finished in 1 minute 2.2 seconds (files took 1.08 seconds to load)2172: 0 examples, 0 failures, 1 error occurred outside of examples2173: ================================================================================2174: �[32m[2,277 / 2,297]�[0m 2 / 28 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:service-edge-remote; 559s local, disk-cache ... (4 actions, 2 running)2175: �[32m[2,277 / 2,297]�[0m 2 / 28 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:service-edge-remote; 569s local, disk-cache ... (4 actions, 2 running)2176: �[32m[2,277 / 2,297]�[0m 2 / 28 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:service-edge-remote; 570s local, disk-cache ... (4 actions, 2 running)2177: �[32m[2,277 / 2,297]�[0m 2 / 28 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:service-edge-remote; 599s local, disk-cache ... (4 actions, 2 running)2178: �[32m[2,277 / 2,297]�[0m 2 / 28 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/edge:service-edge-remote; 627s local, disk-cache ... (4 actions, 2 running)2179: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/edge:service-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/service-edge-remote/test.log)2180: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver/edge:service-edge-remote (Summary)2181: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/service-edge-remote/test.log2182: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/service-edge-remote/test_attempts/attempt_1.log2183: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/service-edge-remote/test_attempts/attempt_2.log2184: �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver/edge:service-edge-remote:2185: ==================== Test output for //rb/spec/integration/selenium/webdriver/edge:service-edge-remote:2186: 2025-07-16 18:52:25 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/edge/service-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2187: Running Ruby specs:2188: An error occurred in a `before(:suite)` hook.2189: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2190: Net::ReadTimeout:
...
2196: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2197: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2198: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2199: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2200: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2201: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2202: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2203: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2204: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2205: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2206: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2207: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2208: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2209: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2210: Finished in 1 minute 2.19 seconds (files took 0.90398 seconds to load)2211: 0 examples, 0 failures, 1 error occurred outside of examples2212: ================================================================================2213: ==================== Test output for //rb/spec/integration/selenium/webdriver/edge:service-edge-remote:2214: 2025-07-16 18:57:03 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/edge/service-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2215: Running Ruby specs:2216: An error occurred in a `before(:suite)` hook.2217: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2218: Net::ReadTimeout:
...
2224: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2225: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2226: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2227: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2228: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2229: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2230: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2231: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2232: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2233: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2234: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2235: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2236: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2237: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2238: Finished in 1 minute 2.2 seconds (files took 0.97311 seconds to load)2239: 0 examples, 0 failures, 1 error occurred outside of examples2240: ================================================================================2241: ==================== Test output for //rb/spec/integration/selenium/webdriver/edge:service-edge-remote:2242: 2025-07-16 19:01:42 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/edge/service-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2243: Running Ruby specs:2244: An error occurred in a `before(:suite)` hook.2245: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2246: Net::ReadTimeout:
...
2252: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2253: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2254: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2255: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2256: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2257: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2258: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2259: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2260: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2261: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2262: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2263: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2264: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2265: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2266: Finished in 1 minute 2.2 seconds (files took 1 second to load)2267: 0 examples, 0 failures, 1 error occurred outside of examples2268: ================================================================================2269: �[32m[2,278 / 2,297]�[0m 3 / 28 tests, �[31m�[1m3 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-edge-remote; 558s local, disk-cache ... (4 actions, 1 running)2270: �[32m[2,278 / 2,297]�[0m 3 / 28 tests, �[31m�[1m3 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-edge-remote; 569s local, disk-cache ... (4 actions, 1 running)2271: �[32m[2,278 / 2,297]�[0m 3 / 28 tests, �[31m�[1m3 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-edge-remote; 570s local, disk-cache ... (4 actions, 1 running)2272: �[32m[2,278 / 2,297]�[0m 3 / 28 tests, �[31m�[1m3 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-edge-remote; 599s local, disk-cache ... (4 actions, 1 running)2273: �[32m[2,278 / 2,297]�[0m 3 / 28 tests, �[31m�[1m3 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-edge-remote; 627s local, disk-cache ... (4 actions, 2 running)2274: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:select-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-edge-remote/test.log)2275: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:select-edge-remote (Summary)2276: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-edge-remote/test.log2277: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-edge-remote/test_attempts/attempt_1.log2278: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-edge-remote/test_attempts/attempt_2.log2279: �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:select-edge-remote:2280: ==================== Test output for //rb/spec/integration/selenium/webdriver:select-edge-remote:2281: 2025-07-16 18:53:34 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/select-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2282: Running Ruby specs:2283: An error occurred in a `before(:suite)` hook.2284: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2285: Net::ReadTimeout:
...
2291: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2292: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2293: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2294: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2295: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2296: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2297: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2298: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2299: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2300: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2301: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2302: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2303: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2304: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2305: Finished in 1 minute 2.17 seconds (files took 0.8737 seconds to load)2306: 0 examples, 0 failures, 1 error occurred outside of examples2307: ================================================================================2308: ==================== Test output for //rb/spec/integration/selenium/webdriver:select-edge-remote:2309: 2025-07-16 18:58:13 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/select-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2310: Running Ruby specs:2311: An error occurred in a `before(:suite)` hook.2312: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2313: Net::ReadTimeout:
...
2319: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2320: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2321: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2322: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2323: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2324: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2325: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2326: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2327: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2328: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2329: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2330: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2331: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2332: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2333: Finished in 1 minute 2.2 seconds (files took 0.94129 seconds to load)2334: 0 examples, 0 failures, 1 error occurred outside of examples2335: ================================================================================2336: ==================== Test output for //rb/spec/integration/selenium/webdriver:select-edge-remote:2337: 2025-07-16 19:02:52 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/select-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2338: Running Ruby specs:2339: An error occurred in a `before(:suite)` hook.2340: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2341: Net::ReadTimeout:
...
2347: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2348: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'2349: # ./rb/lib/selenium/webdriver/common/driver.rb:324:in `create_bridge'2350: # ./rb/lib/selenium/webdriver/common/driver.rb:73:in `initialize'2351: # ./rb/lib/selenium/webdriver/remote/driver.rb:38:in `initialize'2352: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `new'2353: # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'2354: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:247:in `remote_driver'2355: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:176:in `create_driver!'2356: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in `driver_instance'2357: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `browser_version'2358: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:223:in `current_env'2359: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'2360: # //?/D:/a/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:55:in `block (2 levels) in <top (required)>'2361: Finished in 1 minute 2.19 seconds (files took 1.01 seconds to load)2362: 0 examples, 0 failures, 1 error occurred outside of examples2363: ================================================================================2364: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver/edge:driver-edge-remote; 128s ... (4 actions, 1 running)2365: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver/edge:driver-edge-remote; 139s ... (4 actions, 1 running)2366: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver/edge:driver-edge-remote; 140s ... (4 actions, 1 running)2367: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver/edge:driver-edge-remote; 169s ... (4 actions, 1 running)2368: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-edge-remote; 127s ... (4 actions, 2 running)2369: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-edge-remote/test_attempts/attempt_1.log)2370: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-edge-remote; 128s ... (4 actions, 2 running)2371: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-edge-remote; 159s ... (4 actions, 2 running)2372: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 139s local, disk-cache ... (4 actions, 3 running)2373: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/edge:driver-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/driver-edge-remote/test_attempts/attempt_1.log)2374: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 140s local, disk-cache ... (4 actions, 3 running)2375: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 162s local, disk-cache ... (4 actions, 3 running)2376: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 209s local, disk-cache ... (4 actions running)2377: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:takes_screenshot-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/takes_screenshot-edge-remote/test_attempts/attempt_1.log)2378: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 210s local, disk-cache ... (4 actions running)2379: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 211s local, disk-cache ... (4 actions running)2380: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 222s local, disk-cache ... (4 actions running)2381: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 279s local, disk-cache ... (4 actions running)2382: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:window-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-edge-remote/test_attempts/attempt_1.log)2383: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 280s local, disk-cache ... (4 actions running)2384: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 282s local, disk-cache ... (4 actions running)2385: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 342s local, disk-cache ... (4 actions running)2386: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 349s local, disk-cache ... (4 actions running)2387: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-edge-remote/test_attempts/attempt_2.log)2388: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 350s local, disk-cache ... (4 actions running)2389: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 402s local, disk-cache ... (4 actions running)2390: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 418s local, disk-cache ... (4 actions running)2391: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/edge:driver-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/edge/driver-edge-remote/test_attempts/attempt_2.log)2392: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 419s local, disk-cache ... (4 actions running)2393: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 462s local, disk-cache ... (4 actions running)2394: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 488s local, disk-cache ... (4 actions running)2395: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:takes_screenshot-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/takes_screenshot-edge-remote/test_attempts/attempt_2.log)2396: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 489s local, disk-cache ... (4 actions running)2397: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 522s local, disk-cache ... (4 actions running)2398: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 558s local, disk-cache ... (4 actions running)2399: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:window-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-edge-remote/test_attempts/attempt_2.log)2400: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 560s local, disk-cache ... (4 actions running)2401: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 582s local, disk-cache ... (4 actions running)2402: �[32m[2,279 / 2,297]�[0m 4 / 28 tests, �[31m�[1m4 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:network-edge-remote; 628s local, disk-cache ... (4 actions running)2403: �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-edge-remote (see D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-edge-remote/test.log)2404: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-edge-remote (Summary)2405: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-edge-remote/test.log2406: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-edge-remote/test_attempts/attempt_1.log2407: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-edge-remote/test_attempts/attempt_2.log2408: �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:network-edge-remote:2409: ==================== Test output for //rb/spec/integration/selenium/webdriver:network-edge-remote:2410: 2025-07-16 19:04:02 INFO Selenium Server Location: D:/_bazel/execroot/_main/bazel-out/x64_windows-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-edge-remote.cmd.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar2411: Running Ruby specs:2412: An error occurred in a `before(:suite)` hook.2413: Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)2414: Net::ReadTimeout:
...
2420: # ./rb/lib/selenium/webdriver/remote/bridge.rb:76:in `create_session'2421: # ./rb/lib/selenium/webdriver/common/driver.rb:325:in `block in create_bridge'
...
@diemol@shs96c@titusfortner is there anything todo here for me to get this merged? btw. in germany it's summer so there are less contributions from me currently, but in general i am available and willing to contribute.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Description
Therefore this PR does:
ErrorHandlerand the related unit testsErrorHandlerto decode an errorLet's see what the tests in the CI look like with this change :D
(And we should propably ask some of the Appium people too.)
Motivation and Context
@diemol From the current structure of the code i would assume:
The
...ResponseCodecshould be able to decode aHttpResponseinto aResponsewith the knowledge of the protocol.The
ErrorHandlershould only work with thisResponseregardless of the used protocol and not try to guess what theHttpResponsecould be.In the time before the W3C protocol the
ErrorHandlerwas propably responsible for decoding, but this code should be unused now.Types of changes
Checklist
PR Type
Enhancement, Tests
Description
ErrorHandlerclass by removing unused code, constructors, and methods.W3CHttpResponseCodecto handle gateway errors by settingWebDriverException.ErrorHandlerTestto align with the newErrorHandlerimplementation.ErrorHandler.Changes walkthrough 📝
ErrorHandler.java
Simplified ErrorHandler class by removing unused code.java/src/org/openqa/selenium/remote/ErrorHandler.java
ErrorHandlerclass by removing redundant methods andconstructors.
WebDriverExceptiondirectly.W3CHttpResponseCodec.java
Updated W3CHttpResponseCodec error handling.java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java
WebDriverExceptionfor gateway errors.ErrorHandlerTest.java
Simplified ErrorHandler tests.java/test/org/openqa/selenium/remote/ErrorHandlerTest.java
ErrorHandler.ErrorHandlerimplementation.
RemotableByTest.java
Updated RemotableByTest for new ErrorHandler implementation.java/test/org/openqa/selenium/remote/RemotableByTest.java
ErrorHandlerimplementation.
RemoteWebDriverUnitTest.java
Updated RemoteWebDriverUnitTest for new ErrorHandler messages.java/test/org/openqa/selenium/remote/RemoteWebDriverUnitTest.java
ErrorHandler.RemoteWebElementTest.java
Updated RemoteWebElementTest for new ErrorHandler messages.java/test/org/openqa/selenium/remote/RemoteWebElementTest.java
ErrorHandler.W3CHttpResponseCodecTest.java
Updated W3CHttpResponseCodecTest for new error handling.java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java
WebDriverExceptioninstances.