mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Add deprecationWarnings in Options interface
This commit is contained in:
Vendored
+2
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user