code: function addValueBindLocator() {
    by.addLocator('valueBind', function (bindingModel, opt_parentElement) {
      const using = opt_parentElement || document;
      const selector = `*[value\\.bind='${bindingModel}']`;
      const matches = using.querySelectorAll(selector);
  
      return (matches.length === 0)
        ? null
        : (matches.length === 1)
          ? matches[0]
          : matches;
    });
  }
docs: /* Aurelia Protractor Plugin Custom Locators