Home Reference Source

lib/index.js

export { BehaviorRunner, initRunnableBehavior } from './behaviorRunner';
export {
  createState,
  stateWithMsgNoWait,
  stateWithMsgWait,
  stateWithMsgWaitFromAwaitable,
  stateWithMsgWaitFromFn,
} from './behaviorState';
export {
  browserHistoryGoBack,
  browserLocation,
  locationContains,
  locationEquals,
  waitForHistoryManipToChangeLocation,
} from './browser';
export {
  click,
  clickAndWaitFor,
  clickAndWaitForHistoryChange,
  clickInContext,
  clickInContextWithDelay,
  clickWithDelay,
  scrollAllIntoViewAndClick,
  scrollAllIntoViewAndClickWithDelay,
  scrollIntoViewAndClick,
  scrollIntoViewAndClickWithDelay,
  selectAllAndClick,
  selectAllAndClickWithDelay,
  selectClickAndWaitFor,
  selectElemAndClick,
  selectElemAndClickWithDelay,
  selectElemFromAndClick,
  selectElemFromAndClickWithDelay,
  selectFromAndClickNTimes,
  selectFromAndClickNTimesWithDelay,
  selectFromAndClickUntilNullWithDelay,
  selectScrollIntoViewAndClickSelectedWhileConnected,
  selectScrollIntoViewAndClickWithDelayWhileSelectedConnected,
} from './clicks';
export {
  delay,
  DelayAmount1Second,
  DelayAmount2Seconds,
  DelayAmount3Seconds,
  DelayAmount4Seconds,
  DelayAmount5Seconds,
  domCompletePromise,
  resolveWhenBehaviorUnPaused,
  secondsToDelayAmount,
  setIntervalP,
  setTimeoutP,
  waitForAdditionalElemChildren,
  waitForAdditionalElemChildrenMO,
  waitForAndSelectElement,
  waitForPredicate,
  waitForSelector,
  waitUntilElementIsRemovedFromDom,
} from './delays';
export {
  addBehaviorStyle,
  addClass,
  anySelectorExists,
  attr,
  attrEq,
  canAccessIf,
  chainFistChildElemOf,
  chainLastChildElemOf,
  chainNthChildElementOf,
  chainNthChildNodeOf,
  chainQs,
  childElementIterator,
  childNodeIterator,
  docBaseURIEndsWith,
  docBaseURIEquals,
  documentScrollPosition,
  elemDataValue,
  elemDataValueEqs,
  elementsNameEquals,
  elementTextContains,
  elementTextEndsWith,
  elementTextEqs,
  elementTextStartsWith,
  elementTextStartsWithAndEndsWith,
  elemHasChildren,
  elemHasSibling,
  elemHasZeroBoundingRect,
  elemInnerText,
  elemInnerTextEqs,
  elemInnerTextEqsInsensitive,
  elemInnerTextEqsOneOf,
  elemInnerTextMatchesRegex,
  elemMatchesSelector,
  elemOffsetTopZero,
  elemTextContent,
  filteredQs,
  findDirectChildElement,
  findTag,
  firstChildElementOf,
  firstChildElementOfSelector,
  firstChildElemOfParent,
  getElementClientPageCenter,
  getElementClientPagePosition,
  getElementPositionWidthHeight,
  getElemSibling,
  getElemSiblingAndRemoveElem,
  getElemsParentsSibling,
  getNthParentElement,
  hasAnyClass,
  hasClass,
  hasClasses,
  id,
  idExists,
  innerTextOfSelected,
  isClasslessElem,
  isElemVisible,
  lastChildElementOf,
  lastChildElementOfSelector,
  markElemAsVisited,
  maybePolyfillXPG,
  maybeRemoveElem,
  maybeRemoveElemById,
  nodesNameEquals,
  nthChildElementOf,
  nthChildNodeOf,
  nthPreviousSibling,
  numElemChildren,
  qs,
  qsa,
  qsaOneOf,
  qsOneOf,
  removeClass,
  repeatedXpathQueryIterator,
  repeatedXpathQueryIteratorAsync,
  selectedNextElementSibling,
  selectorExists,
  splitElemInnerText,
  splitElemTextContents,
  xpathOneOf,
  xpathSnapShot,
  xpathSnapShotArray,
} from './dom';
export {
  createMouseEvent,
  fireEventOn,
  fireMouseEventsOnElement,
  waitForEventTargetToFireEvent,
} from './events';
export {
  autobind,
  autoFetchFromDoc,
  compose,
  composeAsync,
  composeAsyncIterators,
  composeIterators,
  extractProps,
  getViaPath,
  globalWithPropsExist,
  isFunction,
  isGenerator,
  isPromise,
  mapAsyncIterator,
  noExceptGeneratorWrap,
  noop,
  objectHasProps,
  objectInstanceOf,
  partial,
  partialRight,
  promiseResolveReject,
  sendAutoFetchWorkerURLs,
  uuidv4,
} from './general';
export {
  findAllMediaElementsAndPlay,
  noExceptPlayMediaElement,
  selectAndPlay,
  selectIdAndPlay,
  uaThinksMediaElementCanPlayAllTheWay,
} from './media';
export { MutationStream } from './mutations';
export {
  addOutlink,
  addOutLinks,
  collectOutlinksFrom,
  collectOutlinksFromDoc,
} from './outlinkCollector';
export { buildCustomPostStepFn, doneOrWait } from './postStepFNs';
export {
  findChildWithKey,
  findReduxStore,
  getInternalRootOnElem,
  getReactRootContainer,
  getReactRootHostElem,
  reactInstanceFromDOMElem,
  reactInstancesFromElements,
} from './reactUtils';
export {
  canScrollDownMore,
  canScrollUpMore,
  createScrollAmount,
  createScroller,
  scrollDownByElemHeight,
  scrollDownByElemHeightWithDelay,
  scrollIntoView,
  scrollIntoViewAndWaitFor,
  scrollIntoViewWithDelay,
  scrollToElemOffset,
  scrollToElemOffsetWithDelay,
  scrollWindowBy,
  scrollWindowByWithDelay,
  scrollWindowDownBy,
  scrollWindowDownByWithDelay,
  smoothScrollWindowBy,
  smoothScrollWindowDownBy,
} from './scrolls';
export {
  camelCase,
  camelCaseToDashDelim,
  camelCaseToUnderscoreDelim,
  capitalize,
  collapseWhitespace,
  isAlpha,
  isAlphaNumeric,
  isEmptyString,
  isLower,
  isNumeric,
  isUpper,
  stringBetween,
  substringFromIndexOf,
  substringFromLastIndexOf,
  titleCase,
  toBoolean,
  toFloat,
  toInt,
} from './strings';
export {
  disconnectingWalk,
  traverseChildrenOf,
  traverseChildrenOfCustom,
  traverseChildrenOfLoaderParent,
  traverseChildrenOfLoaderParentGenFn,
  traverseChildrenOfLoaderParentRemovingPrevious,
  traverseChildrenOfRemovingPrevious,
  walkChildrenOfCustom,
  WalkEndedReasons,
} from './traversals';