We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If some one calls browser.updateCapabilities multiple times, then nested objects get overridden instead of getting merged.
// assume desiredCapabilities = {} browser.updateCapability ({ browser: 'firefox', 'bstack:options': { platformName: 'windows' } }); // desiredCapabilities = { // browser: 'firefox', // 'bstack:options': { // platformName: 'windows' // } // } browser.updateCapability ({ 'bstack:options': { seleniumVersion: '3.5.2' } }); // desiredCapabilities = { // browser: 'firefox', // 'bstack:options': { // seleniumVersion: "3.5.2" // } // }
Expected output:
// desiredCapabilities = { // browser: 'firefox', // 'bstack:options': { // platformName: 'windows' // seleniumVersion: "3.5.2" // } // }
The text was updated successfully, but these errors were encountered:
I found the issue. Will be sending a PR soon. Please assign on my name
Sorry, something went wrong.
Fix - Issue #3625 - Changed to recursive merge on caps (#3831)
adf2944
vinodreddy-bs
Successfully merging a pull request may close this issue.
If some one calls browser.updateCapabilities multiple times, then nested objects get overridden instead of getting merged.
Expected output:
The text was updated successfully, but these errors were encountered: