@Test
    void simplePlainSeleniumTest() {
        RemoteWebDriver driver = new RemoteWebDriver(chrome.getSeleniumAddress(), new ChromeOptions());
        driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(30));

        driver.get("http://host.testcontainers.internal:" + port + "/foo.html");
        List<WebElement> hElement = driver.findElements(By.tagName("h"));

        assertThat(hElement).as("The h element is found").isNotEmpty();
    }
Simple example of plain Selenium usage.
examples/selenium-container/src/test/java/SeleniumContainerTest.java