I've been trying to load an extension into Chrome using WebDriver JS. I have the .CRX file, Unpacked, and Zip all in the specified path, but it doesn't seem to work. All files are located in the same directory.
After attempting to load the extension, a popup appears with the message "Failed to load extension from C:\Program Files(x86)\ Google\Chrome\Application\80.0.3987.87\ C:\SeleniumJS\Ext\extension_2_41_0.CRX. Manifest file is missing or unreadable."
var webdriver = require('selenium-webdriver');
chrome = require('selenium-webdriver/chrome');
var path = "C:\\SeleniumJS\\Ext\\extension_2_4_1_0\\";
options = new chrome.Options();
options.addArguments("enable-automation");
options.addArguments("start-maximized");
options.addArguments( `--load-extension= ${path}` );
const builder = new webdriver.Builder();
builder.setChromeOptions(options);
const driver = builder.forBrowser( 'chrome' ).build();
driver.get ('http://www.bbc.co.uk');