text: function setTitle(details) {
    return new Promise((resolve, reject) => {
      chrome.browserAction.setTitle(details, resolve);
    });
  }
  
  function setPopup(details) {
    return new Promise((resolve, reject) => {
      chrome.browserAction.setPopup(details, resolve);
    });
  }
  
  function setIcon(details) {
    return new Promise((resolve, reject) => {
      chrome.browserAction.setIcon(details, resolve);
    });
  }
  
  export default {
    setTitle,
    setPopup,
    setIcon,
  };
  