Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

unable to run selenium scripts parallel on safari on mac

200 views
Skip to first unread message

Himanshu Nayan

unread,
Aug 23, 2019, 1:16:55 PM8/23/19
to Selenium Users
Hi,


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




Oleg Svitskyi

unread,
Dec 31, 2019, 8:14:08 AM12/31/19
to Selenium Users
Hello

Could you please provide some stacktrace maybe + some simplified source code example?
Reply all
Reply to author
Forward
0 new messages