hosted.js 954 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. /*
  4. * This is an implementation of the Hosted Driver Provider.
  5. * It is responsible for setting up the account object, tearing
  6. * it down, and setting up the driver correctly.
  7. */
  8. const q = require("q");
  9. const logger_1 = require("../logger");
  10. const driverProvider_1 = require("./driverProvider");
  11. let logger = new logger_1.Logger('hosted');
  12. class Hosted extends driverProvider_1.DriverProvider {
  13. constructor(config) {
  14. super(config);
  15. }
  16. /**
  17. * Configure and launch (if applicable) the object's environment.
  18. * @public
  19. * @return {q.promise} A promise which will resolve when the environment is
  20. * ready to test.
  21. */
  22. setupDriverEnv() {
  23. logger.info('Using the selenium server at ' + this.config_.seleniumAddress);
  24. return q.fcall(function () { });
  25. }
  26. }
  27. exports.Hosted = Hosted;
  28. //# sourceMappingURL=hosted.js.map