Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving ignore_local_proxy_environment_variables to BaseOptions #13926

Merged
merged 4 commits into from
May 13, 2024

Conversation

diemol
Copy link
Member

@diemol diemol commented May 10, 2024

User description

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Fixes #10755

Description

Motivation and Context

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)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

PR Type

enhancement


Description

  • Moved the attribute _ignore_local_proxy and method ignore_local_proxy_environment_variables from ArgOptions to BaseOptions.
  • This change allows all subclasses of BaseOptions to utilize the proxy environment variable ignoring functionality.
  • Updated the ignore_local_proxy_environment_variables in ArgOptions to set the attribute from the superclass, ensuring consistency across different browser options.

Changes walkthrough 📝

Relevant files
Enhancement
options.py
Refactor Proxy Environment Variable Handling in BaseOptions

py/selenium/webdriver/common/options.py

  • Added _ignore_local_proxy attribute to BaseOptions class.
  • Moved ignore_local_proxy_environment_variables method from ArgOptions
    to BaseOptions.
  • Updated ignore_local_proxy_environment_variables method in ArgOptions
    to use superclass attribute.
  • +7/-2     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    Copy link
    Contributor

    PR Description updated to latest commit (d3687d8)

    Copy link
    Contributor

    PR Review 🔍

    ⏱️ Estimated effort to review [1-5]

    2, because the changes are straightforward and involve moving an attribute and a method from one class to another. The logic remains the same, and the changes are localized to a few lines.

    🧪 Relevant tests

    No

    ⚡ Possible issues

    Possible Bug: The method ignore_local_proxy_environment_variables in ArgOptions incorrectly references super()._ignore_local_proxy = True. It should be super().ignore_local_proxy_environment_variables() to properly call the method in the superclass and maintain the encapsulation of the _ignore_local_proxy attribute.

    🔒 Security concerns

    No

    Copy link
    Contributor

    PR Code Suggestions ✨

    CategorySuggestions                                                                                                                                                       
    Enhancement
    Allow dynamic configuration of _ignore_local_proxy during object instantiation.

    Consider initializing _ignore_local_proxy in the BaseOptions constructor with a parameter
    to allow configuration at instantiation, rather than hardcoding it to False.

    py/selenium/webdriver/common/options.py [370]

    -self._ignore_local_proxy = False
    +def __init__(self, ignore_local_proxy=False) -> None:
    +    self._ignore_local_proxy = ignore_local_proxy
     
    Modify the method to return the new state for better feedback and usability.

    Refactor the ignore_local_proxy_environment_variables method to return the new state of
    _ignore_local_proxy to provide feedback to the caller.

    py/selenium/webdriver/common/options.py [411]

    -self._ignore_local_proxy = True
    +def ignore_local_proxy_environment_variables(self) -> bool:
    +    self._ignore_local_proxy = True
    +    return self._ignore_local_proxy
     
    Best practice
    Use direct variable access for clarity and to prevent issues with inheritance.

    To maintain consistency and avoid potential future errors, use self._ignore_local_proxy
    directly in the ArgOptions class method ignore_local_proxy_environment_variables instead
    of calling super().

    py/selenium/webdriver/common/options.py [440]

    -super()._ignore_local_proxy = True
    +self._ignore_local_proxy = True
     
    Improve encapsulation by controlling _ignore_local_proxy state through a method.

    Add a method to BaseOptions to toggle the _ignore_local_proxy state instead of setting it
    directly for better encapsulation and control.

    py/selenium/webdriver/common/options.py [411]

    -self._ignore_local_proxy = True
    +def toggle_ignore_local_proxy(self):
    +    self._ignore_local_proxy = not self._ignore_local_proxy
     

    Copy link
    Contributor

    CI Failure Feedback 🧐

    Action: Test / All RBE tests

    Failed stage: Run Bazel [❌]

    Failed test name: test_collect_log_mutations

    Failure summary:

    The action failed because the test test_collect_log_mutations in the bidi_tests.py suite failed.
    This test failure was due to a JavascriptException triggered by an invalid or illegal CSS selector
    used in the test. The error message indicated that the selector specified in the test did not
    conform to CSS selector syntax rules, leading to the failure of the test.

    Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    973:  Package 'php-symfony-debug-bundle' is not installed, so not removed
    974:  Package 'php-symfony-dependency-injection' is not installed, so not removed
    975:  Package 'php-symfony-deprecation-contracts' is not installed, so not removed
    976:  Package 'php-symfony-discord-notifier' is not installed, so not removed
    977:  Package 'php-symfony-doctrine-bridge' is not installed, so not removed
    978:  Package 'php-symfony-doctrine-messenger' is not installed, so not removed
    979:  Package 'php-symfony-dom-crawler' is not installed, so not removed
    980:  Package 'php-symfony-dotenv' is not installed, so not removed
    981:  Package 'php-symfony-error-handler' is not installed, so not removed
    ...
    
    1684:  com.google.guava:guava has multiple versions 33.1.0-jre, 31.1-jre
    1685:  org.mockito:mockito-core has multiple versions 5.11.0, 4.3.1
    1686:  Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions
    1687:  (14:35:19) �[32mAnalyzing:�[0m 1605 targets (429 packages loaded, 4770 targets configured)
    1688:  �[32m[1 / 1]�[0m checking cached actions
    1689:  (14:35:24) �[32mAnalyzing:�[0m 1605 targets (637 packages loaded, 10769 targets configured)
    1690:  �[32m[1 / 1]�[0m checking cached actions
    1691:  (14:35:27) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external~/coursier.bzl:754:18: Found duplicate artifact versions
    1692:  com.google.errorprone:error_prone_annotations has multiple versions 2.11.0, 2.9.0
    ...
    
    1791:  warning: [options] source value 8 is obsolete and will be removed in a future release
    1792:  warning: [options] target value 8 is obsolete and will be removed in a future release
    1793:  warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    1794:  (14:36:22) �[32mAnalyzing:�[0m 1605 targets (1154 packages loaded, 33568 targets configured)
    1795:  �[32m[5,769 / 7,135]�[0m 2 / 238 tests;�[0m [Prepa] Generating v123 DevTools Protocol bindings for .NET ... (37 actions, 1 running)
    1796:  (14:36:27) �[32mAnalyzing:�[0m 1605 targets (1154 packages loaded, 33623 targets configured)
    1797:  �[32m[6,640 / 7,475]�[0m 20 / 295 tests;�[0m Extracting npm package @mui/icons-material@5.15.8_-554584225; 4s remote, remote-cache ... (49 actions, 21 running)
    1798:  (14:36:28) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (66 source files):
    1799:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1800:  private final ErrorCodes errorCodes;
    1801:  ^
    1802:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1803:  this.errorCodes = new ErrorCodes();
    1804:  ^
    1805:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1806:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    1807:  ^
    1808:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1809:  ErrorCodes errorCodes = new ErrorCodes();
    1810:  ^
    1811:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1812:  ErrorCodes errorCodes = new ErrorCodes();
    1813:  ^
    1814:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1815:  response.setStatus(ErrorCodes.SUCCESS);
    1816:  ^
    1817:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1818:  response.setState(ErrorCodes.SUCCESS_STRING);
    1819:  ^
    1820:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1821:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    1822:  ^
    1823:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1824:  new ErrorCodes().getExceptionType((String) rawError);
    1825:  ^
    1826:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1827:  private final ErrorCodes errorCodes = new ErrorCodes();
    1828:  ^
    1829:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1830:  private final ErrorCodes errorCodes = new ErrorCodes();
    1831:  ^
    1832:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1833:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    1834:  ^
    1835:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1836:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1837:  ^
    1838:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1839:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1840:  ^
    1841:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1842:  response.setStatus(ErrorCodes.SUCCESS);
    1843:  ^
    1844:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:125: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1845:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1846:  ^
    1847:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:131: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1848:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1849:  ^
    1850:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1851:  private final ErrorCodes errorCodes = new ErrorCodes();
    1852:  ^
    1853:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1854:  private final ErrorCodes errorCodes = new ErrorCodes();
    1855:  ^
    1856:  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 removal
    1857:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1858:  ^
    1859:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1860:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1861:  ^
    1862:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1863:  response.setStatus(ErrorCodes.SUCCESS);
    1864:  ^
    1865:  (14:36:32) �[32mAnalyzing:�[0m 1605 targets (1155 packages loaded, 33714 targets configured)
    1866:  �[32m[7,021 / 7,714]�[0m 22 / 329 tests;�[0m Extracting npm package @mui/icons-material@5.15.8_-554584225; 9s remote, remote-cache ... (42 actions, 2 running)
    1867:  (14:36:37) �[32mAnalyzing:�[0m 1605 targets (1178 packages loaded, 33872 targets configured)
    1868:  �[32m[7,086 / 8,158]�[0m 22 / 541 tests;�[0m Extracting npm package @mui/icons-material@5.15.8_-554584225; 14s remote, remote-cache ... (50 actions, 0 running)
    1869:  (14:36:42) �[32mAnalyzing:�[0m 1605 targets (1178 packages loaded, 35385 targets configured)
    1870:  �[32m[7,331 / 8,659]�[0m 56 / 768 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:virtual_authenticator-chrome; 1s remote, remote-cache ... (49 actions, 1 running)
    1871:  (14:36:43) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (66 source files):
    1872:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1873:  private final ErrorCodes errorCodes;
    1874:  ^
    1875:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1876:  this.errorCodes = new ErrorCodes();
    1877:  ^
    1878:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1879:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    1880:  ^
    1881:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1882:  ErrorCodes errorCodes = new ErrorCodes();
    1883:  ^
    1884:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1885:  ErrorCodes errorCodes = new ErrorCodes();
    1886:  ^
    1887:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1888:  response.setStatus(ErrorCodes.SUCCESS);
    1889:  ^
    1890:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1891:  response.setState(ErrorCodes.SUCCESS_STRING);
    1892:  ^
    1893:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1894:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    1895:  ^
    1896:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1897:  new ErrorCodes().getExceptionType((String) rawError);
    1898:  ^
    1899:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1900:  private final ErrorCodes errorCodes = new ErrorCodes();
    1901:  ^
    1902:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1903:  private final ErrorCodes errorCodes = new ErrorCodes();
    1904:  ^
    1905:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1906:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    1907:  ^
    1908:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1909:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1910:  ^
    1911:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1912:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1913:  ^
    1914:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1915:  response.setStatus(ErrorCodes.SUCCESS);
    1916:  ^
    1917:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:125: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1918:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1919:  ^
    1920:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:131: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1921:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1922:  ^
    1923:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1924:  private final ErrorCodes errorCodes = new ErrorCodes();
    1925:  ^
    1926:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1927:  private final ErrorCodes errorCodes = new ErrorCodes();
    1928:  ^
    1929:  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 removal
    1930:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1931:  ^
    1932:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1933:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1934:  ^
    1935:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1936:  response.setStatus(ErrorCodes.SUCCESS);
    ...
    
    1939:  /mnt/engflow/worker/work/0/exec/bazel-out/k8-opt-exec-ST-a934f86a68ba/bin/external/rules_pkg~/pkg/private/zip/build_zip.runfiles/rules_python~~python~python_3_8_x86_64-unknown-linux-gnu/lib/python3.8/zipfile.py:1517: UserWarning: Duplicate name: 'grid-ui/'
    1940:  return self._open_to_write(zinfo, force_zip64=force_zip64)
    1941:  (14:36:47) �[32mAnalyzing:�[0m 1605 targets (1178 packages loaded, 35385 targets configured)
    1942:  �[32m[8,632 / 9,439]�[0m 131 / 768 tests;�[0m Testing //java/test/org/openqa/selenium/events:ZeroMqTcpTest; 0s remote, remote-cache ... (49 actions, 20 running)
    1943:  (14:36:49) �[32mINFO: �[0mFrom Compiling webdriver:
    1944:  bazel-out/k8-fastbuild-ST-63230e73852e/bin/dotnet/src/webdriver/cdp/v123/Target/TargetInfo.cs(30,149): warning CS1570: XML comment has badly formed XML -- 'Reference to undefined entity 'q'.'
    1945:  bazel-out/k8-fastbuild-ST-63230e73852e/bin/dotnet/src/webdriver/cdp/v124/Target/TargetInfo.cs(21,149): warning CS1570: XML comment has badly formed XML -- 'Reference to undefined entity 'q'.'
    1946:  (14:36:49) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):
    1947:  java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1948:  response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));
    1949:  ^
    1950:  (14:36:49) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):
    1951:  java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1952:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    1953:  ^
    1954:  java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1955:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    1956:  ^
    1957:  java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1958:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));
    1959:  ^
    1960:  (14:36:49) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):
    1961:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:26: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1962:  import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;
    1963:  ^
    1964:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1965:  assertThat(decoded.getStatus().intValue()).isEqualTo(ErrorCodes.SUCCESS);
    1966:  ^
    1967:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:81: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1968:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    1969:  ^
    1970:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1971:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    ...
    
    1991:  ^
    1992:  java/test/org/openqa/selenium/remote/http/FormEncodedDataTest.java:102: warning: [removal] FormEncodedData in org.openqa.selenium.remote.http has been deprecated and marked for removal
    1993:  Optional<Map<String, List<String>>> data = FormEncodedData.getData(request);
    1994:  ^
    1995:  java/test/org/openqa/selenium/remote/http/FormEncodedDataTest.java:114: warning: [removal] FormEncodedData in org.openqa.selenium.remote.http has been deprecated and marked for removal
    1996:  Optional<Map<String, List<String>>> data = FormEncodedData.getData(request);
    1997:  ^
    1998:  (14:36:50) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    1999:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2000:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2001:  ^
    2002:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2003:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2004:  ^
    2005:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2006:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2007:  ^
    2008:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2009:  private final ErrorCodes errorCodes = new ErrorCodes();
    2010:  ^
    2011:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2012:  private final ErrorCodes errorCodes = new ErrorCodes();
    2013:  ^
    2014:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2015:  private final ErrorCodes errorCodes = new ErrorCodes();
    2016:  ^
    2017:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2018:  private final ErrorCodes errorCodes = new ErrorCodes();
    2019:  ^
    2020:  (14:36:51) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2021:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2022:  handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);
    2023:  ^
    2024:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2025:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2026:  ^
    2027:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2028:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2029:  ^
    2030:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2031:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2032:  ^
    2033:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2034:  assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2035:  ^
    2036:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2037:  ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);
    2038:  ^
    2039:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2040:  ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2041:  ^
    2042:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2043:  ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2044:  ^
    2045:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2046:  assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2047:  ^
    2048:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2049:  Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);
    2050:  ^
    2051:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2052:  createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))
    2053:  ^
    2054:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2055:  createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),
    2056:  ^
    2057:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2058:  ErrorCodes.UNHANDLED_ERROR,
    2059:  ^
    2060:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2061:  ErrorCodes.UNHANDLED_ERROR,
    2062:  ^
    2063:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2064:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2065:  ^
    2066:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2067:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2068:  ^
    2069:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2070:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2071:  ^
    2072:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2073:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2074:  ^
    2075:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2076:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2077:  ^
    2078:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2079:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2080:  ^
    2081:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2082:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2083:  ^
    2084:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2085:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2086:  ^
    2087:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2088:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2089:  ^
    2090:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2091:  exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);
    2092:  ^
    2093:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2094:  exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2095:  ^
    2096:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2097:  exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2098:  ^
    2099:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2100:  exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2101:  ^
    2102:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2103:  exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2104:  ^
    2105:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2106:  exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2107:  ^
    2108:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2109:  exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);
    2110:  ^
    2111:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2112:  exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);
    2113:  ^
    2114:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2115:  exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2116:  ^
    2117:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2118:  exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);
    2119:  ^
    2120:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2121:  exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2122:  ^
    2123:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2124:  exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);
    2125:  ^
    2126:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2127:  exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);
    2128:  ^
    2129:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2130:  exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);
    2131:  ^
    2132:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2133:  exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);
    2134:  ^
    2135:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2136:  exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);
    2137:  ^
    2138:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2139:  exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);
    2140:  ^
    2141:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2142:  exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);
    2143:  ^
    2144:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2145:  exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);
    2146:  ^
    2147:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2148:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);
    2149:  ^
    2150:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2151:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);
    2152:  ^
    2153:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2154:  ? ErrorCodes.INVALID_SELECTOR_ERROR
    2155:  ^
    2156:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2157:  assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);
    2158:  ^
    2159:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2160:  response.setState(new ErrorCodes().toState(status));
    ...
    
    2179:  (14:37:21) �[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/test
    2180:  (14:37:21) �[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/test
    2181:  (14:37:21) �[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/test
    2182:  (14:37:21) �[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/test
    2183:  (14:37:21) �[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/test
    2184:  (14:37:21) �[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/test
    2185:  (14:37:21) �[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/test
    2186:  (14:37:21) �[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/test
    2187:  (14:37:21) �[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
    ...
    
    2314:  (14:39:15) �[32m[13,939 / 14,216]�[0m 955 / 1605 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/opacity_tests.py; 39s remote, remote-cache ... (50 actions, 49 running)
    2315:  (14:39:20) �[32m[13,972 / 14,216]�[0m 989 / 1605 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/children_finding_tests.py; 40s remote, remote-cache ... (50 actions, 47 running)
    2316:  (14:39:25) �[32m[13,975 / 14,216]�[0m 992 / 1605 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/children_finding_tests.py; 45s remote, remote-cache ... (50 actions, 49 running)
    2317:  (14:39:30) �[32m[14,018 / 14,216]�[0m 1034 / 1605 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/children_finding_tests.py; 50s remote, remote-cache ... (50 actions, 45 running)
    2318:  (14:39:34) �[31m�[1mFAIL: �[0m//py:common-chrome-test/selenium/webdriver/common/bidi_tests.py (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py/test_attempts/attempt_1.log)
    2319:  (14:39:35) �[32m[14,098 / 14,298]�[0m 1115 / 1605 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/timeout_tests.py; 55s remote, remote-cache ... (50 actions, 43 running)
    2320:  (14:39:40) �[32m[14,159 / 14,339]�[0m 1170 / 1605 tests;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/virtual_authenticator_tests.py; 58s remote, remote-cache ... (49 actions, 46 running)
    2321:  (14:39:42) �[31m�[1mFAIL: �[0m//py:common-chrome-test/selenium/webdriver/common/bidi_tests.py (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py/test.log)
    2322:  �[31m�[1mFAILED: �[0m//py:common-chrome-test/selenium/webdriver/common/bidi_tests.py (Summary)
    ...
    
    2324:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py/test.log
    2325:  ============================= test session starts ==============================
    2326:  platform linux -- Python 3.8.18, pytest-7.4.2, pluggy-1.3.0
    2327:  rootdir: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py.runfiles/_main/py
    2328:  configfile: pytest.ini
    2329:  plugins: instafail-0.5.0, trio-0.8.0, mock-3.12.0
    2330:  collected 4 items
    2331:  py/test/selenium/webdriver/common/bidi_tests.py::test_check_console_messages[chrome] PASSED [ 25%]
    2332:  py/test/selenium/webdriver/common/bidi_tests.py::test_check_error_console_messages[chrome] PASSED [ 50%]
    2333:  py/test/selenium/webdriver/common/bidi_tests.py::test_collect_js_exceptions[chrome] PASSED [ 75%]
    2334:  py/test/selenium/webdriver/common/bidi_tests.py::test_collect_log_mutations[chrome] FAILED [100%]
    ...
    
    2349:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    2350:  ../rules_python~~python~python_3_8_x86_64-unknown-linux-gnu/lib/python3.8/contextlib.py:178: in __aexit__
    2351:  await self.gen.__anext__()
    2352:  py/selenium/webdriver/common/log.py:84: in mutation_events
    2353:  elements: list = self.driver.find_elements(By.CSS_SELECTOR, f"*[data-__webdriver_id={payload['target']}")
    2354:  py/selenium/webdriver/remote/webdriver.py:771: in find_elements
    2355:  return self.execute(Command.FIND_ELEMENTS, {"using": by, "value": value})["value"] or []
    2356:  py/selenium/webdriver/remote/webdriver.py:347: in execute
    2357:  self.error_handler.check_response(response)
    2358:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    2359:  self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f849c020b20>
    2360:  response = {'status': 500, 'value': '{"value":{"error":"javascript error","message":"javascript error: {\\"status\\":32,\\"value\...wn>\\n#19 0x56158c25c170 \\u003Cunknown>\\n#20 0x56158c26bf94 \\u003Cunknown>\\n#21 0x7f79634dc609 start_thread\\n"}}'}
    2361:  def check_response(self, response: Dict[str, Any]) -> None:
    2362:  """Checks that a JSON response from the WebDriver does not have an
    2363:  error.
    2364:  :Args:
    2365:  - response - The JSON response from the WebDriver server as a dictionary
    2366:  object.
    2367:  :Raises: If the response contains an error message.
    2368:  """
    2369:  status = response.get("status", None)
    2370:  if not status or status == ErrorCode.SUCCESS:
    ...
    
    2376:  if isinstance(status, int):
    2377:  value_json = response.get("value", None)
    2378:  if value_json and isinstance(value_json, str):
    2379:  import json
    2380:  try:
    2381:  value = json.loads(value_json)
    2382:  if len(value) == 1:
    2383:  value = value["value"]
    2384:  status = value.get("error", None)
    2385:  if not status:
    2386:  status = value.get("status", ErrorCode.UNKNOWN_ERROR)
    2387:  message = value.get("value") or value.get("message")
    2388:  if not isinstance(message, str):
    2389:  value = message
    2390:  message = message.get("message")
    2391:  else:
    2392:  message = value.get("message", None)
    2393:  except ValueError:
    2394:  pass
    2395:  exception_class: Type[WebDriverException]
    2396:  e = ErrorCode()
    2397:  error_codes = [item for item in dir(e) if not item.startswith("__")]
    2398:  for error_code in error_codes:
    2399:  error_info = getattr(ErrorCode, error_code)
    2400:  if isinstance(error_info, list) and status in error_info:
    2401:  exception_class = getattr(ExceptionMapping, error_code, WebDriverException)
    ...
    
    2425:  if line:
    2426:  file = f"{file}:{line}"
    2427:  meth = frame.get("methodName", "<anonymous>")
    2428:  if "className" in frame:
    2429:  meth = f"{frame['className']}.{meth}"
    2430:  msg = "    at %s (%s)"
    2431:  msg = msg % (meth, file)
    2432:  stacktrace.append(msg)
    2433:  except TypeError:
    ...
    
    2435:  if exception_class == UnexpectedAlertPresentException:
    2436:  alert_text = None
    2437:  if "data" in value:
    2438:  alert_text = value["data"].get("text")
    2439:  elif "alert" in value:
    2440:  alert_text = value["alert"].get("text")
    2441:  raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
    2442:  >       raise exception_class(message, screen, stacktrace)
    2443:  E       selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    2460:  E       #14 0x56158c2350bb <unknown>
    2461:  E       #15 0x56158c21d281 <unknown>
    2462:  E       #16 0x56158c235c22 <unknown>
    2463:  E       #17 0x56158c20213f <unknown>
    2464:  E       #18 0x56158c25bf98 <unknown>
    2465:  E       #19 0x56158c25c170 <unknown>
    2466:  E       #20 0x56158c26bf94 <unknown>
    2467:  E       #21 0x7f79634dc609 start_thread
    2468:  py/selenium/webdriver/remote/errorhandler.py:229: JavascriptException
    2469:  =========================== short test summary info ============================
    2470:  FAILED py/test/selenium/webdriver/common/bidi_tests.py::test_collect_log_mutations[chrome] - selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    2487:  #14 0x56158c2350bb <unknown>
    2488:  #15 0x56158c21d281 <unknown>
    2489:  #16 0x56158c235c22 <unknown>
    2490:  #17 0x56158c20213f <unknown>
    2491:  #18 0x56158c25bf98 <unknown>
    2492:  #19 0x56158c25c170 <unknown>
    2493:  #20 0x56158c26bf94 <unknown>
    2494:  #21 0x7f79634dc609 start_thread
    2495:  ========================= 1 failed, 3 passed in 5.67s ==========================
    ...
    
    2498:  ==================== Test output for //py:common-chrome-test/selenium/webdriver/common/bidi_tests.py:
    2499:  ============================= test session starts ==============================
    2500:  platform linux -- Python 3.8.18, pytest-7.4.2, pluggy-1.3.0
    2501:  rootdir: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py.runfiles/_main/py
    2502:  configfile: pytest.ini
    2503:  plugins: instafail-0.5.0, trio-0.8.0, mock-3.12.0
    2504:  collected 4 items
    2505:  py/test/selenium/webdriver/common/bidi_tests.py::test_check_console_messages[chrome] PASSED [ 25%]
    2506:  py/test/selenium/webdriver/common/bidi_tests.py::test_check_error_console_messages[chrome] PASSED [ 50%]
    2507:  py/test/selenium/webdriver/common/bidi_tests.py::test_collect_js_exceptions[chrome] PASSED [ 75%]
    2508:  py/test/selenium/webdriver/common/bidi_tests.py::test_collect_log_mutations[chrome] FAILED [100%]
    ...
    
    2523:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    2524:  ../rules_python~~python~python_3_8_x86_64-unknown-linux-gnu/lib/python3.8/contextlib.py:178: in __aexit__
    2525:  await self.gen.__anext__()
    2526:  py/selenium/webdriver/common/log.py:84: in mutation_events
    2527:  elements: list = self.driver.find_elements(By.CSS_SELECTOR, f"*[data-__webdriver_id={payload['target']}")
    2528:  py/selenium/webdriver/remote/webdriver.py:771: in find_elements
    2529:  return self.execute(Command.FIND_ELEMENTS, {"using": by, "value": value})["value"] or []
    2530:  py/selenium/webdriver/remote/webdriver.py:347: in execute
    2531:  self.error_handler.check_response(response)
    2532:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    2533:  self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f31f81a0af0>
    2534:  response = {'status': 500, 'value': '{"value":{"error":"javascript error","message":"javascript error: {\\"status\\":32,\\"value\...wn>\\n#19 0x56228ab1a170 \\u003Cunknown>\\n#20 0x56228ab29f94 \\u003Cunknown>\\n#21 0x7fb4b908f609 start_thread\\n"}}'}
    2535:  def check_response(self, response: Dict[str, Any]) -> None:
    2536:  """Checks that a JSON response from the WebDriver does not have an
    2537:  error.
    2538:  :Args:
    2539:  - response - The JSON response from the WebDriver server as a dictionary
    2540:  object.
    2541:  :Raises: If the response contains an error message.
    2542:  """
    2543:  status = response.get("status", None)
    2544:  if not status or status == ErrorCode.SUCCESS:
    ...
    
    2550:  if isinstance(status, int):
    2551:  value_json = response.get("value", None)
    2552:  if value_json and isinstance(value_json, str):
    2553:  import json
    2554:  try:
    2555:  value = json.loads(value_json)
    2556:  if len(value) == 1:
    2557:  value = value["value"]
    2558:  status = value.get("error", None)
    2559:  if not status:
    2560:  status = value.get("status", ErrorCode.UNKNOWN_ERROR)
    2561:  message = value.get("value") or value.get("message")
    2562:  if not isinstance(message, str):
    2563:  value = message
    2564:  message = message.get("message")
    2565:  else:
    2566:  message = value.get("message", None)
    2567:  except ValueError:
    2568:  pass
    2569:  exception_class: Type[WebDriverException]
    2570:  e = ErrorCode()
    2571:  error_codes = [item for item in dir(e) if not item.startswith("__")]
    2572:  for error_code in error_codes:
    2573:  error_info = getattr(ErrorCode, error_code)
    2574:  if isinstance(error_info, list) and status in error_info:
    2575:  exception_class = getattr(ExceptionMapping, error_code, WebDriverException)
    ...
    
    2599:  if line:
    2600:  file = f"{file}:{line}"
    2601:  meth = frame.get("methodName", "<anonymous>")
    2602:  if "className" in frame:
    2603:  meth = f"{frame['className']}.{meth}"
    2604:  msg = "    at %s (%s)"
    2605:  msg = msg % (meth, file)
    2606:  stacktrace.append(msg)
    2607:  except TypeError:
    ...
    
    2609:  if exception_class == UnexpectedAlertPresentException:
    2610:  alert_text = None
    2611:  if "data" in value:
    2612:  alert_text = value["data"].get("text")
    2613:  elif "alert" in value:
    2614:  alert_text = value["alert"].get("text")
    2615:  raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
    2616:  >       raise exception_class(message, screen, stacktrace)
    2617:  E       selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    2634:  E       #14 0x56228aaf30bb <unknown>
    2635:  E       #15 0x56228aadb281 <unknown>
    2636:  E       #16 0x56228aaf3c22 <unknown>
    2637:  E       #17 0x56228aac013f <unknown>
    2638:  E       #18 0x56228ab19f98 <unknown>
    2639:  E       #19 0x56228ab1a170 <unknown>
    2640:  E       #20 0x56228ab29f94 <unknown>
    2641:  E       #21 0x7fb4b908f609 start_thread
    2642:  py/selenium/webdriver/remote/errorhandler.py:229: JavascriptException
    2643:  =========================== short test summary info ============================
    2644:  FAILED py/test/selenium/webdriver/common/bidi_tests.py::test_collect_log_mutations[chrome] - selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    2661:  #14 0x56228aaf30bb <unknown>
    2662:  #15 0x56228aadb281 <unknown>
    2663:  #16 0x56228aaf3c22 <unknown>
    2664:  #17 0x56228aac013f <unknown>
    2665:  #18 0x56228ab19f98 <unknown>
    2666:  #19 0x56228ab1a170 <unknown>
    2667:  #20 0x56228ab29f94 <unknown>
    2668:  #21 0x7fb4b908f609 start_thread
    2669:  ========================= 1 failed, 3 passed in 3.23s ==========================
    2670:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChAyxkNaSahB86NFTLCrLs6tEgdkZWZhdWx0GiUKIEm4wWioHaETBIj8v19YKjldmxVZ9pSUFSXFI4zMdyk6EJ8D
    2671:  ================================================================================
    2672:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py/test_attempts/attempt_1.log
    2673:  (14:39:42) �[32mINFO: �[0mFrom Testing //py:common-chrome-test/selenium/webdriver/common/bidi_tests.py:
    2674:  (14:39:43) �[31m�[1mFAIL: �[0m//py:common-edge-test/selenium/webdriver/common/bidi_tests.py (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-edge-test/selenium/webdriver/common/bidi_tests.py/test_attempts/attempt_1.log)
    2675:  (14:39:45) �[32m[14,248 / 14,597]�[0m 1256 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/window_switching_tests.py; 63s remote, remote-cache ... (50 actions, 41 running)
    2676:  (14:39:50) �[32m[14,367 / 14,597]�[0m 1376 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/window_switching_tests.py; 68s remote, remote-cache ... (50 actions, 45 running)
    ...
    
    2680:  ==================== Test output for //py:common-edge-test/selenium/webdriver/common/bidi_tests.py:
    2681:  ============================= test session starts ==============================
    2682:  platform linux -- Python 3.8.18, pytest-7.4.2, pluggy-1.3.0
    2683:  rootdir: /mnt/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/py/common-edge-test/selenium/webdriver/common/bidi_tests.py.runfiles/_main/py
    2684:  configfile: pytest.ini
    2685:  plugins: instafail-0.5.0, trio-0.8.0, mock-3.12.0
    2686:  collected 4 items
    2687:  py/test/selenium/webdriver/common/bidi_tests.py::test_check_console_messages[edge] PASSED [ 25%]
    2688:  py/test/selenium/webdriver/common/bidi_tests.py::test_check_error_console_messages[edge] PASSED [ 50%]
    2689:  py/test/selenium/webdriver/common/bidi_tests.py::test_collect_js_exceptions[edge] PASSED [ 75%]
    2690:  py/test/selenium/webdriver/common/bidi_tests.py::test_collect_log_mutations[edge] FAILED [100%]
    ...
    
    2705:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    2706:  ../rules_python~~python~python_3_8_x86_64-unknown-linux-gnu/lib/python3.8/contextlib.py:178: in __aexit__
    2707:  await self.gen.__anext__()
    2708:  py/selenium/webdriver/common/log.py:84: in mutation_events
    2709:  elements: list = self.driver.find_elements(By.CSS_SELECTOR, f"*[data-__webdriver_id={payload['target']}")
    2710:  py/selenium/webdriver/remote/webdriver.py:771: in find_elements
    2711:  return self.execute(Command.FIND_ELEMENTS, {"using": by, "value": value})["value"] or []
    2712:  py/selenium/webdriver/remote/webdriver.py:347: in execute
    2713:  self.error_handler.check_response(response)
    2714:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    2715:  self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f8427a5ec10>
    2716:  response = {'status': 500, 'value': '{"value":{"error":"javascript error","message":"javascript error: {\\"status\\":32,\\"value\...wn>\\n#21 0x56165569c3b9 \\u003Cunknown>\\n#22 0x5616556aa1c6 \\u003Cunknown>\\n#23 0x7f38ceb6f609 start_thread\\n"}}'}
    2717:  def check_response(self, response: Dict[str, Any]) -> None:
    2718:  """Checks that a JSON response from the WebDriver does not have an
    2719:  error.
    2720:  :Args:
    2721:  - response - The JSON response from the WebDriver server as a dictionary
    2722:  object.
    2723:  :Raises: If the response contains an error message.
    2724:  """
    2725:  status = response.get("status", None)
    2726:  if not status or status == ErrorCode.SUCCESS:
    ...
    
    2732:  if isinstance(status, int):
    2733:  value_json = response.get("value", None)
    2734:  if value_json and isinstance(value_json, str):
    2735:  import json
    2736:  try:
    2737:  value = json.loads(value_json)
    2738:  if len(value) == 1:
    2739:  value = value["value"]
    2740:  status = value.get("error", None)
    2741:  if not status:
    2742:  status = value.get("status", ErrorCode.UNKNOWN_ERROR)
    2743:  message = value.get("value") or value.get("message")
    2744:  if not isinstance(message, str):
    2745:  value = message
    2746:  message = message.get("message")
    2747:  else:
    2748:  message = value.get("message", None)
    2749:  except ValueError:
    2750:  pass
    2751:  exception_class: Type[WebDriverException]
    2752:  e = ErrorCode()
    2753:  error_codes = [item for item in dir(e) if not item.startswith("__")]
    2754:  for error_code in error_codes:
    2755:  error_info = getattr(ErrorCode, error_code)
    2756:  if isinstance(error_info, list) and status in error_info:
    2757:  exception_class = getattr(ExceptionMapping, error_code, WebDriverException)
    ...
    
    2781:  if line:
    2782:  file = f"{file}:{line}"
    2783:  meth = frame.get("methodName", "<anonymous>")
    2784:  if "className" in frame:
    2785:  meth = f"{frame['className']}.{meth}"
    2786:  msg = "    at %s (%s)"
    2787:  msg = msg % (meth, file)
    2788:  stacktrace.append(msg)
    2789:  except TypeError:
    ...
    
    2791:  if exception_class == UnexpectedAlertPresentException:
    2792:  alert_text = None
    2793:  if "data" in value:
    2794:  alert_text = value["data"].get("text")
    2795:  elif "alert" in value:
    2796:  alert_text = value["alert"].get("text")
    2797:  raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
    2798:  >       raise exception_class(message, screen, stacktrace)
    2799:  E       selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    2818:  E       #16 0x56165567cd35 <unknown>
    2819:  E       #17 0x56165566af5b <unknown>
    2820:  E       #18 0x56165567d141 <unknown>
    2821:  E       #19 0x561655657a75 <unknown>
    2822:  E       #20 0x56165569c228 <unknown>
    2823:  E       #21 0x56165569c3b9 <unknown>
    2824:  E       #22 0x5616556aa1c6 <unknown>
    2825:  E       #23 0x7f38ceb6f609 start_thread
    2826:  py/selenium/webdriver/remote/errorhandler.py:229: JavascriptException
    2827:  =========================== short test summary info ============================
    2828:  FAILED py/test/selenium/webdriver/common/bidi_tests.py::test_collect_log_mutations[edge] - selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    2847:  #16 0x56165567cd35 <unknown>
    2848:  #17 0x56165566af5b <unknown>
    2849:  #18 0x56165567d141 <unknown>
    2850:  #19 0x561655657a75 <unknown>
    2851:  #20 0x56165569c228 <unknown>
    2852:  #21 0x56165569c3b9 <unknown>
    2853:  #22 0x5616556aa1c6 <unknown>
    2854:  #23 0x7f38ceb6f609 start_thread
    2855:  ========================= 1 failed, 3 passed in 5.15s ==========================
    2856:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChDYp7Zr0u5C9a9G2l7jo1wCEgdkZWZhdWx0GiUKIE6QAE8e120EpMFbgXQ87-Iwf5GNZ211o97iLWbVpqu0EJ8D
    2857:  ================================================================================
    2858:  (14:39:55) �[32m[14,395 / 14,597]�[0m 1404 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/window_switching_tests.py; 73s remote, remote-cache ... (50 actions, 49 running)
    2859:  (14:40:00) �[32m[14,416 / 14,597]�[0m 1424 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/window_switching_tests.py; 78s remote, remote-cache ... (50 actions, 47 running)
    2860:  (14:40:05) �[32m[14,489 / 14,597]�[0m 1497 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/support/event_firing_webdriver_tests.py; 83s remote, remote-cache ... (50 actions, 44 running)
    2861:  (14:40:10) �[32m[14,567 / 14,597]�[0m 1575 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/webdriverwait_tests.py; 82s remote, remote-cache ... (30 actions running)
    2862:  (14:40:15) �[32m[14,579 / 14,597]�[0m 1588 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/webdriverwait_tests.py; 87s remote, remote-cache ... (18 actions running)
    2863:  (14:40:22) �[32m[14,587 / 14,597]�[0m 1595 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/webdriverwait_tests.py; 93s remote, remote-cache ... (10 actions running)
    2864:  (14:40:27) �[32m[14,588 / 14,597]�[0m 1596 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-chrome-test/selenium/webdriver/common/webdriverwait_tests.py; 98s remote, remote-cache ... (9 actions running)
    2865:  (14:40:32) �[32m[14,590 / 14,597]�[0m 1598 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/api_example_tests.py; 98s remote, remote-cache ... (7 actions running)
    2866:  (14:40:38) �[32m[14,592 / 14,597]�[0m 1600 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/alerts_tests.py; 104s remote, remote-cache ... (5 actions running)
    2867:  (14:40:47) �[32m[14,593 / 14,597]�[0m 1601 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/alerts_tests.py; 113s remote, remote-cache ... (4 actions running)
    2868:  (14:40:52) �[32m[14,593 / 14,597]�[0m 1601 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/alerts_tests.py; 118s remote, remote-cache ... (4 actions running)
    2869:  (14:41:02) �[32m[14,594 / 14,597]�[0m 1602 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/alerts_tests.py; 128s remote, remote-cache ... (3 actions running)
    2870:  (14:41:07) �[32m[14,594 / 14,597]�[0m 1602 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/alerts_tests.py; 133s remote, remote-cache ... (3 actions running)
    2871:  (14:41:17) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 102s remote, remote-cache
    2872:  (14:41:27) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 112s remote, remote-cache
    2873:  (14:41:49) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 133s remote, remote-cache
    2874:  (14:42:49) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 193s remote, remote-cache
    2875:  (14:43:49) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 253s remote, remote-cache
    2876:  (14:44:49) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 313s remote, remote-cache
    2877:  (14:44:56) �[32m[14,596 / 14,597]�[0m 1604 / 1605 tests, �[31m�[1m1 failed�[0m;�[0m Testing //py:common-edge-test/selenium/webdriver/common/frame_switching_tests.py; 321s remote, remote-cache
    2878:  (14:44:57) �[32mINFO: �[0mFound 1605 test targets...
    2879:  (14:44:57) �[32mINFO: �[0mElapsed time: 591.973s, Critical Path: 337.46s
    2880:  (14:44:57) �[32mINFO: �[0m14018 processes: 6978 remote cache hit, 6675 internal, 46 local, 319 remote.
    2881:  (14:44:57) �[32mINFO: �[0mBuild completed, 1 test FAILED, 14018 total actions
    ...
    
    2953:  //dotnet/test/common:ElementFindingTest-edge                    �[0m�[32m(cached) PASSED�[0m in 33.2s
    2954:  //dotnet/test/common:ElementFindingTest-firefox                 �[0m�[32m(cached) PASSED�[0m in 33.4s
    2955:  //dotnet/test/common:ElementPropertyTest-chrome                 �[0m�[32m(cached) PASSED�[0m in 9.2s
    2956:  //dotnet/test/common:ElementPropertyTest-edge                   �[0m�[32m(cached) PASSED�[0m in 8.8s
    2957:  //dotnet/test/common:ElementPropertyTest-firefox                �[0m�[32m(cached) PASSED�[0m in 11.0s
    2958:  //dotnet/test/common:ElementSelectingTest-chrome                �[0m�[32m(cached) PASSED�[0m in 13.2s
    2959:  //dotnet/test/common:ElementSelectingTest-edge                  �[0m�[32m(cached) PASSED�[0m in 16.5s
    2960:  //dotnet/test/common:ElementSelectingTest-firefox               �[0m�[32m(cached) PASSED�[0m in 26.5s
    2961:  //dotnet/test/common:ErrorsTest-chrome                          �[0m�[32m(cached) PASSED�[0m in 7.5s
    2962:  //dotnet/test/common:ErrorsTest-edge                            �[0m�[32m(cached) PASSED�[0m in 6.8s
    2963:  //dotnet/test/common:ErrorsTest-firefox                         �[0m�[32m(cached) PASSED�[0m in 11.3s
    ...
    
    3290:  //java/test/org/openqa/selenium:ElementFindingTest-edge         �[0m�[32m(cached) PASSED�[0m in 101.3s
    3291:  //java/test/org/openqa/selenium:ElementFindingTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 43.4s
    3292:  //java/test/org/openqa/selenium:ElementFindingTest-spotbugs     �[0m�[32m(cached) PASSED�[0m in 8.6s
    3293:  //java/test/org/openqa/selenium:ElementSelectingTest            �[0m�[32m(cached) PASSED�[0m in 30.0s
    3294:  //java/test/org/openqa/selenium:ElementSelectingTest-chrome     �[0m�[32m(cached) PASSED�[0m in 18.1s
    3295:  //java/test/org/openqa/selenium:ElementSelectingTest-edge       �[0m�[32m(cached) PASSED�[0m in 29.0s
    3296:  //java/test/org/openqa/selenium:ElementSelectingTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 28.8s
    3297:  //java/test/org/openqa/selenium:ElementSelectingTest-spotbugs   �[0m�[32m(cached) PASSED�[0m in 7.7s
    3298:  //java/test/org/openqa/selenium:ErrorsTest                      �[0m�[32m(cached) PASSED�[0m in 16.9s
    3299:  //java/test/org/openqa/selenium:ErrorsTest-chrome               �[0m�[32m(cached) PASSED�[0m in 16.6s
    3300:  //java/test/org/openqa/selenium:ErrorsTest-edge                 �[0m�[32m(cached) PASSED�[0m in 12.0s
    3301:  //java/test/org/openqa/selenium:ErrorsTest-firefox-beta         �[0m�[32m(cached) PASSED�[0m in 13.9s
    3302:  //java/test/org/openqa/selenium:ErrorsTest-spotbugs             �[0m�[32m(cached) PASSED�[0m in 6.4s
    ...
    
    4003:  //java/test/org/openqa/selenium/os:ExternalProcessTest          �[0m�[32m(cached) PASSED�[0m in 2.7s
    4004:  //java/test/org/openqa/selenium/os:ExternalProcessTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 9.5s
    4005:  //java/test/org/openqa/selenium/os:OsProcessTest                �[0m�[32m(cached) PASSED�[0m in 5.0s
    4006:  //java/test/org/openqa/selenium/os:OsProcessTest-spotbugs       �[0m�[32m(cached) PASSED�[0m in 6.8s
    4007:  //java/test/org/openqa/selenium/remote:AugmenterTest            �[0m�[32m(cached) PASSED�[0m in 6.8s
    4008:  //java/test/org/openqa/selenium/remote:AugmenterTest-spotbugs   �[0m�[32m(cached) PASSED�[0m in 11.6s
    4009:  //java/test/org/openqa/selenium/remote:DesiredCapabilitiesTest  �[0m�[32m(cached) PASSED�[0m in 2.2s
    4010:  //java/test/org/openqa/selenium/remote:DesiredCapabilitiesTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 10.1s
    4011:  //java/test/org/openqa/selenium/remote:ErrorCodecTest           �[0m�[32m(cached) PASSED�[0m in 2.2s
    4012:  //java/test/org/openqa/selenium/remote:ErrorCodecTest-spotbugs  �[0m�[32m(cached) PASSED�[0m in 9.3s
    4013:  //java/test/org/openqa/selenium/remote:ErrorHandlerTest         �[0m�[32m(cached) PASSED�[0m in 3.1s
    4014:  //java/test/org/openqa/selenium/remote:ErrorHandlerTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 11.6s
    ...
    
    4178:  //rb/spec/integration/selenium/webdriver:action_builder-firefox-beta �[0m�[32m(cached) PASSED�[0m in 64.2s
    4179:  //rb/spec/integration/selenium/webdriver:driver-chrome          �[0m�[32m(cached) PASSED�[0m in 39.0s
    4180:  //rb/spec/integration/selenium/webdriver:driver-edge            �[0m�[32m(cached) PASSED�[0m in 42.2s
    4181:  //rb/spec/integration/selenium/webdriver:driver-firefox         �[0m�[32m(cached) PASSED�[0m in 58.7s
    4182:  //rb/spec/integration/selenium/webdriver:driver-firefox-beta    �[0m�[32m(cached) PASSED�[0m in 63.2s
    4183:  //rb/spec/integration/selenium/webdriver:element-edge           �[0m�[32m(cached) PASSED�[0m in 41.4s
    4184:  //rb/spec/integration/selenium/webdriver:element-firefox        �[0m�[32m(cached) PASSED�[0m in 49.2s
    4185:  //rb/spec/integration/selenium/webdriver:element-firefox-beta   �[0m�[32m(cached) PASSED�[0m in 49.8s
    4186:  //rb/spec/integration/selenium/webdriver:error-chrome           �[0m�[32m(cached) PASSED�[0m in 17.5s
    4187:  //rb/spec/integration/selenium/webdriver:error-edge             �[0m�[32m(cached) PASSED�[0m in 15.2s
    4188:  //rb/spec/integration/selenium/webdriver:error-firefox          �[0m�[32m(cached) PASSED�[0m in 21.7s
    4189:  //rb/spec/integration/selenium/webdriver:error-firefox-beta     �[0m�[32m(cached) PASSED�[0m in 21.9s
    ...
    
    4469:  //py:common-firefox-test/selenium/webdriver/support/relative_by_tests.py �[0m�[32mPASSED�[0m in 8.6s
    4470:  //py:test-chrome-test/selenium/webdriver/chrome/chrome_network_emulation_tests.py �[0m�[32mPASSED�[0m in 5.0s
    4471:  //py:unit-test/unit/selenium/webdriver/chrome/chrome_options_tests.py    �[0m�[32mPASSED�[0m in 3.0s
    4472:  //py:unit-test/unit/selenium/webdriver/common/cdp_module_fallback_tests.py �[0m�[32mPASSED�[0m in 3.4s
    4473:  //py:unit-test/unit/selenium/webdriver/common/common_options_tests.py    �[0m�[32mPASSED�[0m in 2.8s
    4474:  //py:unit-test/unit/selenium/webdriver/common/print_page_options_tests.py �[0m�[32mPASSED�[0m in 3.1s
    4475:  //py:unit-test/unit/selenium/webdriver/edge/edge_options_tests.py        �[0m�[32mPASSED�[0m in 3.9s
    4476:  //py:unit-test/unit/selenium/webdriver/firefox/firefox_options_tests.py  �[0m�[32mPASSED�[0m in 3.4s
    4477:  //py:unit-test/unit/selenium/webdriver/remote/error_handler_tests.py     �[0m�[32mPASSED�[0m in 2.7s
    4478:  //py:unit-test/unit/selenium/webdriver/remote/new_session_tests.py       �[0m�[32mPASSED�[0m in 3.1s
    4479:  //py:unit-test/unit/selenium/webdriver/remote/remote_connection_tests.py �[0m�[32mPASSED�[0m in 2.9s
    4480:  //py:unit-test/unit/selenium/webdriver/remote/subtyping_tests.py         �[0m�[32mPASSED�[0m in 3.3s
    4481:  //py:unit-test/unit/selenium/webdriver/safari/safari_options_tests.py    �[0m�[32mPASSED�[0m in 2.6s
    4482:  //py:unit-test/unit/selenium/webdriver/support/color_tests.py            �[0m�[32mPASSED�[0m in 3.1s
    4483:  //py:unit-test/unit/selenium/webdriver/virtual_authenticator/virtual_authenticator_options_tests.py �[0m�[32mPASSED�[0m in 2.9s
    4484:  //py:unit-test/unit/selenium/webdriver/webkitgtk/webkitgtk_options_tests.py �[0m�[32mPASSED�[0m in 2.5s
    4485:  //py:unit-test/unit/selenium/webdriver/wpewebkit/wpewebkit_options_tests.py �[0m�[32mPASSED�[0m in 3.6s
    4486:  //py:common-edge-test/selenium/webdriver/common/bidi_tests.py             �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 7.8s
    4487:  Stats over 2 runs: max = 7.8s, min = 6.4s, avg = 7.1s, dev = 0.7s
    4488:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-edge-test/selenium/webdriver/common/bidi_tests.py/test_attempts/attempt_1.log
    4489:  //py:common-chrome-test/selenium/webdriver/common/bidi_tests.py          �[0m�[31m�[1mFAILED�[0m in 2 out of 2 in 9.8s
    4490:  Stats over 2 runs: max = 9.8s, min = 5.5s, avg = 7.6s, dev = 2.1s
    4491:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py/test.log
    4492:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/py/common-chrome-test/selenium/webdriver/common/bidi_tests.py/test_attempts/attempt_1.log
    4493:  Executed 166 out of 1605 tests: 1604 tests pass and �[0m�[31m�[1m1 fails remotely�[0m.
    4494:  There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
    4495:  (14:44:59) �[32mINFO: �[0mStreaming build results to: https://gypsum.cluster.engflow.com/invocation/2e2e174c-238c-44cd-9788-6d65b8985057
    4496:  �[0m
    4497:  ##[error]Process completed with exit code 3.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @diemol diemol merged commit 4e59ac8 into trunk May 13, 2024
    14 checks passed
    @diemol diemol deleted the issue-10755 branch May 13, 2024 12:04
    sandeepsuryaprasad pushed a commit to sandeepsuryaprasad/selenium that referenced this pull request Oct 29, 2024
    …iumHQ#13926)
    
    * Moving ignore_local_proxy_environment_variables to BaseOptions
    
    * Just moving instead of deprecating
    
    * Invoking method instead of property
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    1 participant