While executing selenium scripts in parallel (say thread count = 5), I am able to trigger 5 safari webdrivers and scripts are executing parallel.
But, when the 6th (threadcount +1) script gets invoked, it is throwing below exception:
Could not create a session: The Safari instance is already paired with another WebDriver session.
It is causing the skipping of all other scripts during parallel execution.
The same script/framework is working fine with chrome/firefox.
I am using below configurations:
Mac - macOS Mojave
Selenium- 3.5.3
Java SE 8