1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 |
|
4 | var selenium_webdriver_1 = require("selenium-webdriver");
|
5 | exports.ActionSequence = selenium_webdriver_1.ActionSequence;
|
6 | exports.Browser = selenium_webdriver_1.Browser;
|
7 | exports.Builder = selenium_webdriver_1.Builder;
|
8 | exports.Button = selenium_webdriver_1.Button;
|
9 | exports.Capabilities = selenium_webdriver_1.Capabilities;
|
10 | exports.Capability = selenium_webdriver_1.Capability;
|
11 | exports.error = selenium_webdriver_1.error;
|
12 | exports.EventEmitter = selenium_webdriver_1.EventEmitter;
|
13 | exports.FileDetector = selenium_webdriver_1.FileDetector;
|
14 | exports.Key = selenium_webdriver_1.Key;
|
15 | exports.logging = selenium_webdriver_1.logging;
|
16 | exports.promise = selenium_webdriver_1.promise;
|
17 | exports.Session = selenium_webdriver_1.Session;
|
18 | exports.until = selenium_webdriver_1.until;
|
19 | exports.WebDriver = selenium_webdriver_1.WebDriver;
|
20 | exports.WebElement = selenium_webdriver_1.WebElement;
|
21 | exports.WebElementPromise = selenium_webdriver_1.WebElementPromise;
|
22 |
|
23 | var browser_1 = require("./browser");
|
24 | exports.ProtractorBrowser = browser_1.ProtractorBrowser;
|
25 | var element_1 = require("./element");
|
26 | exports.ElementArrayFinder = element_1.ElementArrayFinder;
|
27 | exports.ElementFinder = element_1.ElementFinder;
|
28 | var expectedConditions_1 = require("./expectedConditions");
|
29 | exports.ProtractorExpectedConditions = expectedConditions_1.ProtractorExpectedConditions;
|
30 | var locators_1 = require("./locators");
|
31 | exports.ProtractorBy = locators_1.ProtractorBy;
|
32 | var ptor_1 = require("./ptor");
|
33 | exports.Ptor = ptor_1.Ptor;
|
34 | var runner_1 = require("./runner");
|
35 | exports.Runner = runner_1.Runner;
|
36 | exports.utils = {
|
37 | firefox: require('selenium-webdriver/firefox'),
|
38 | http: require('selenium-webdriver/http'),
|
39 | remote: require('selenium-webdriver/remote')
|
40 | };
|
41 | exports.Command = require('selenium-webdriver/lib/command').Command;
|
42 | exports.CommandName = require('selenium-webdriver/lib/command').Name;
|
43 | Object.defineProperty(exports, 'protractor', { get: () => global['protractor'] });
|
44 | function registerGlobal(name) {
|
45 | Object.defineProperty(exports, name, { get: () => exports.protractor ? exports.protractor[name] : undefined });
|
46 | }
|
47 | registerGlobal('browser');
|
48 | registerGlobal('$');
|
49 | registerGlobal('$$');
|
50 | registerGlobal('element');
|
51 | registerGlobal('By');
|
52 | registerGlobal('by');
|
53 | registerGlobal('ExpectedConditions');
|
54 |
|
\ | No newline at end of file |