code: def redux_state_rqs(self):
      return self.driver.execute_script(
          """
  
              // Check for legacy `pendingCallbacks` store prop (compatibility for Dash matrix testing)
              var pendingCallbacks = window.store.getState().pendingCallbacks;
              if (pendingCallbacks) {
                  return pendingCallbacks.map(function(cb) {
                      var out = {};
                      for (var key in cb) {
                          if (typeof cb[key] !== 'function') { out[key] = cb[key]; }
                      }
                      return out;
                  });
              }
  
              // Otherwise, use the new `callbacks` store prop
              var callbacksState =  Object.assign({}, window.store.getState().callbacks);
              delete callbacksState.stored;
              delete callbacksState.completed;
  
              return Array.prototype.concat.apply([], Object.values(callbacksState));
              """
      )
  
file_path: dash/dash/testing/dash_page.py
imports: from bs4 import BeautifulSoup
label_desc: Use image node_id 7 for calling the DashPageMixin obj's underlying member method code with example usage: obj.redux_state_rqs() and returns: self