Last updated: Jun 15, 2019 03:23
Problem
The instantiation of web driver for Mac machines takes upward of 2 minutes, which typically should complete within 30 secs.
Solution
Remove the below capability from your driver creation:
capabilities.setCapability(“openDeviceTimeout”, 2);
openDeviceTimeout is only applicable to mobile devices, and not desktop web machines. This capability is ignored and not affecting drivers for Windows web cradles.
Related articles