I am in a situation where I need to connect same simulator with 2 sessions(by using 2 appium port).
I am trying the same , but seems It forget the 1st session, Its like:
- drvr1= Connect port 8100 to ios simulator
- Run some scenarios, using the drvr1
- drvr2 = Again need to connect with port 8101
- Run some commands using drvr2
Now when try to use drvr1, it’s gone, observed error like:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8100