How to enable thread safe environment while running parallel session on the platform?

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>();