You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we create a webdriver instance for Safari driver, capabilities are not merged correctly, as result we have only one capability - browser name, but to start browserStack session we need to pass all commonCapabilities.
This happens because we return wrong SafariOption object from createCapabilities method of class SafariDriverFactory.
options.merge creates new instance of SafariOptions, so we need to return result of options.merge instead of old options object
The problem
Unable to start Safari webdriver on browserStack
Details
When we create a webdriver instance for Safari driver, capabilities are not merged correctly, as result we have only one capability - browser name, but to start browserStack session we need to pass all commonCapabilities.
This happens because we return wrong SafariOption object from createCapabilities method of class SafariDriverFactory.
options.merge creates new instance of SafariOptions, so we need to return result of options.merge instead of old options object
Tell us about your environment
Code To Reproduce Issue
The text was updated successfully, but these errors were encountered: