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
Downloads 78.0.3904.11/chromedriver_win32.zip rather than 78.0.3904.70/chromedriver_win32.zip.
Bug in the code chrome_xml.ts:
Method name: getSpecificChromeDriverVersion
if (itemFound == '') {
if (this.osarch === 'x64' ||
(this.osarch !== 'x64' && !item.includes(this.getOsTypeName() + '64'))) {
itemFound = item;
console.log(this.osarch + " item registered chromedriver--->" + itemFound);
}
}
else if (this.osarch === 'x64') {
if (item.includes(this.getOsTypeName() + '64')) {
itemFound = item;
console.log(this.osarch + " item registered chromedriver--->" + itemFound);
}
}
Since the else if can never be satisfied (since chrome driver will never deliver a win64 version you would need to adjust the code to:
else if (this.osarch === 'x64') {
if (item.includes(this.getOsTypeName() + '64') || (item.includes(this.getOsTypeName() + '32') && this.getOsTypeName() == 'win')) {
Include a or '32' which is the case so the latest 78.0.3904.70/chromedriver_win32.zip can be downloaded!
If you want I can open a PR for you??
BR
Georgios
The text was updated successfully, but these errors were encountered:
Command webdriver-manager update --gecko=false
Downloads 78.0.3904.11/chromedriver_win32.zip rather than 78.0.3904.70/chromedriver_win32.zip.
Bug in the code chrome_xml.ts:
Method name: getSpecificChromeDriverVersion
if (itemFound == '') {
if (this.osarch === 'x64' ||
(this.osarch !== 'x64' && !item.includes(this.getOsTypeName() + '64'))) {
itemFound = item;
console.log(this.osarch + " item registered chromedriver--->" + itemFound);
}
}
else if (this.osarch === 'x64') {
if (item.includes(this.getOsTypeName() + '64')) {
itemFound = item;
console.log(this.osarch + " item registered chromedriver--->" + itemFound);
}
}
Since the else if can never be satisfied (since chrome driver will never deliver a win64 version you would need to adjust the code to:
else if (this.osarch === 'x64') {
if (item.includes(this.getOsTypeName() + '64') || (item.includes(this.getOsTypeName() + '32') && this.getOsTypeName() == 'win')) {
Include a or '32' which is the case so the latest 78.0.3904.70/chromedriver_win32.zip can be downloaded!
If you want I can open a PR for you??
BR
Georgios
The text was updated successfully, but these errors were encountered: