client.d.ts 672 B

1234567891011121314151617181920
  1. export declare class BPClient {
  2. hostname: string;
  3. port: number;
  4. constructor(bpUrlValue: string);
  5. /**
  6. * Toggle whether waiting for Angular is enabled.
  7. *
  8. * @param enabled Whether or not to enable waiting for angular.
  9. * @returns {Promise<T>}
  10. */
  11. setWaitEnabled(enabled: boolean): Promise<any>;
  12. /**
  13. * Set the selector used to find the root element of the Angular application to wait for. See
  14. * AngularWaitBarrier for more details.
  15. *
  16. * @param selector A selector, or empty string to wait for all Angular apps.
  17. */
  18. setWaitParams(rootSelector: string): Promise<any>;
  19. isWaitEnabled(): Promise<{}>;
  20. }