This class is only available in the Java Binding ThreadGuard checks that a driver is called only from the same thread that created it. Threading issues especially when running tests in Parallel may have mysterious and hard to diagnose errors. Using this wrapper prevents this category of errors and will raise an exception when it happens. The following example simulate a clash of threads: public class DriverClash { //thread main (id 1) created this driver private WebDriver protectedDriver = Th...