### Feature and motivation

Selenium still uses JUnit 4 (see eg https://github.com/SeleniumHQ/selenium/blob/702b3aae7385adf331d75cdeacd79720cf6b9c84/java/maven_deps.bzl#L56, https://github.com/SeleniumHQ/selenium/blob/702b3aae7385adf331d75cdeacd79720cf6b9c84/java/test/org/openqa/selenium/testing/JUnit4TestBase.java#L35)
JUnit 5 is out since 2017 and widely adopted.

I´m asking for this because there are issues when using JUnit 5 and Selenium 4 together. (https://github.com/SeleniumHQ/selenium/issues/9359) IMO such issues already should be recognized during automated testing.
private static final int CAPACITY = 1;
  @Test
  public void testPopulationOfSessionLog() throws IOException {
    PerSessionLogHandler handler = createPerSessionLogHandler();
    SessionId sessionId = new SessionId("session-1");
    handler.attachToCurrentThread(sessionId);
    LogRecord firstRecord = new LogRecord(Level.INFO, "First Log Record");
    handler.publish(firstRecord);
    LogEntries entries = handler.getSessionLog(sessionId);
    assertEquals(1, entries.getAll().size(), "Session log should contain one entry");
    assertEquals("Session log should contain logged entry",
      firstRecord.getMessage(), entries.getAll().get(0).getMessage());
  }
  @Test
  @Ignore("it fails!")
  public void testLoggedSessions() {
    PerSessionLogHandler handler = createPerSessionLogHandler();
    SessionId sessionId = new SessionId("session-1");
    handler.attachToCurrentThread(sessionId);
    handler.publish(new LogRecord(Level.INFO, "First Log Record"));
    assertTrue(handler.getLoggedSessions().contains(sessionId),
      "Added session should be provided as a logged session");
  }
  @Test