Example usage for org.openqa.selenium.remote.server Session close

List of usage examples for org.openqa.selenium.remote.server Session close

Introduction

In this page you can find the example usage for org.openqa.selenium.remote.server Session close.

Prototype

void close();

Source Link

Usage

From source file:org.openqa.testing.StaticTestSessions.java

License:Apache License

public void deleteSession(SessionId sessionId) {
    Session session = sessionIdToDriver.remove(sessionId);
    if (session != null) {
        session.close();
    }/*from  ww  w  .  ja va 2 s .c om*/
}