1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const webdriver = require("selenium-webdriver");
|
4 | const chrome = require("selenium-webdriver/chrome");
|
5 | const firefox = require("selenium-webdriver/firefox");
|
6 | const http = require("selenium-webdriver/http");
|
7 | const remote = require("selenium-webdriver/remote");
|
8 | class Ptor {
|
9 | constructor() {
|
10 | this.$ = function (search) {
|
11 | return null;
|
12 | };
|
13 | this.$$ = function (search) {
|
14 | return null;
|
15 | };
|
16 |
|
17 | this.ProtractorBrowser = require('./browser').ProtractorBrowser;
|
18 | this.ElementFinder = require('./element').ElementFinder;
|
19 | this.ElementArrayFinder = require('./element').ElementArrayFinder;
|
20 | this.ProtractorBy = require('./locators').ProtractorBy;
|
21 | this.ProtractorExpectedConditions = require('./expectedConditions').ProtractorExpectedConditions;
|
22 |
|
23 | this.ActionSequence = webdriver.ActionSequence;
|
24 | this.Browser = webdriver.Browser;
|
25 | this.Builder = webdriver.Builder;
|
26 | this.Button = webdriver.Button;
|
27 | this.Capabilities = webdriver.Capabilities;
|
28 | this.Capability = webdriver.Capability;
|
29 | this.EventEmitter = webdriver.EventEmitter;
|
30 | this.FileDetector = webdriver.FileDetector;
|
31 | this.Key = webdriver.Key;
|
32 | this.Session = webdriver.Session;
|
33 | this.WebDriver = webdriver.WebDriver;
|
34 | this.WebElement = webdriver.WebElement;
|
35 | this.WebElementPromise = webdriver.WebElementPromise;
|
36 | this.error = webdriver.error;
|
37 | this.logging = webdriver.logging;
|
38 | this.promise = webdriver.promise;
|
39 | this.until = webdriver.until;
|
40 | this.Command = require('selenium-webdriver/lib/command').Command;
|
41 | this.CommandName = require('selenium-webdriver/lib/command').Name;
|
42 | this.utils = { firefox: firefox, http: http, remote: remote, chrome: chrome };
|
43 | }
|
44 | }
|
45 | exports.Ptor = Ptor;
|
46 | exports.protractor = new Ptor();
|
47 |
|
\ | No newline at end of file |