@Override
    public void stop() {
        if (driver != null) {
            try {
                driver.quit();
            } catch (Exception e) {
                LOGGER.debug("Failed to quit the driver", e);
            }
            driver = null;
        }

        if (vncRecordingContainer != null) {
            try {
                vncRecordingContainer.stop();
            } catch (Exception e) {
                LOGGER.debug("Failed to stop vncRecordingContainer", e);
            }
            vncRecordingContainer = null;
        }

        super.stop();
    }
Obtain a RemoteWebDriver instance that is bound to an instance of the browser running inside a new container.
<p>
All containers and drivers will be automatically shut down after the test method finishes (if used as a @Rule) or the test
class (if used as a @ClassRule)

@return a new Remote Web Driver instance
@deprecated use {@link #getSeleniumAddress()} instead
modules/selenium/src/main/java/org/testcontainers/containers/BrowserWebDriverContainer.java