Add deprecationWarnings in Options interface

This commit is contained in:
Philippe Leger
2018-02-26 12:09:24 -05:00
parent fb314c3842
commit 6eaa654fd2
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -4,6 +4,7 @@
// Tim Brust <https://github.com/timbru31>
// Fredrik Smedberg <https://github.com/fsmedberg-tc>
// Tanvir ul Islam <https://github.com/tanvirislam06>
// Phil Leger <https://github.com/phil-lgr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
@@ -397,6 +398,7 @@ declare namespace WebdriverIO {
interface Options {
baseUrl?: string;
bail?: number;
deprecationWarnings?: boolean;
coloredLogs?: boolean;
capabilities?: DesiredCapabilities[];
connectionRetryTimeout?: number;
+1 -1
View File
@@ -26,7 +26,7 @@ describe.only("my webdriverio tests", () => {
let client: webdriverio.Client<void>;
before(async () => {
client = webdriverio.remote({ desiredCapabilities: { browserName: "phantomjs" } });
client = webdriverio.remote({ deprecationWarnings: true, desiredCapabilities: { browserName: "phantomjs" } });
await client.init();
});