Skip to content

Commit

Permalink
chore: case
Browse files Browse the repository at this point in the history
  • Loading branch information
07souravkunda committed Feb 22, 2024
1 parent d0adffa commit 31ec77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/helpers/capabilityHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const getAccessibilityPlatforms = (bsConfig) => {
}
browserList.forEach((browserDetails, idx) => {
accessibilityPlatforms[idx] = (browserDetails.accessibility === undefined) ? rootLevelAccessibility : browserDetails.accessibility;
if (browserDetails.browser !== 'chrome') {
if (browserDetails.browser && browserDetails.browser.toLowerCase() !== 'chrome') {
logger.warn(`Accessibility Automation will run only on Chrome browsers for ${browserDetails.platform}.`);
} else if (browserDetails.version && (!browserDetails.version.includes('latest') || browserDetails.version < 94)) {
logger.warn(`Accessibility Automation will run only on Chrome browser version greater than 94 for ${browserDetails.platform}.`);
Expand Down

0 comments on commit 31ec77c

Please sign in to comment.