How to enable thread safe environment while running parallel session on the platform?
Hi Joe,
Use ThreadLocal in below format.
private static ThreadLocal<WebDriver> driver = new ThreadLocal<WebDriver>();
How to enable thread safe environment while running parallel session on the platform?
Hi Joe,
Use ThreadLocal in below format.
private static ThreadLocal<WebDriver> driver = new ThreadLocal<WebDriver>();