I try to open old session by knowing the ID of that session, How can I reopen it.. Here code how I get the session Id, and I need to open that session from session ID that I have if it's possible
System.setProperty("webdriver.gecko.driver", "C:\\geckodriver.exe");
driver = new FirefoxDriver(new FirefoxProfile().);
System.out.println("Driver started");
SessionId session = ((FirefoxDriver)driver).getSessionId();
System.out.println("Session id: " + session.toString());
Aucun commentaire:
Enregistrer un commentaire