Removed the section definitions

This commit is contained in:
Clayton Astrom
2018-10-24 11:38:07 -05:00
parent 4e56d789dc
commit 4e0b76207e
+1 -4
View File
@@ -1851,7 +1851,7 @@ export interface Nightwatch {
export interface EnhancedElementInstance {
name: string;
locateStrategy: string;
parent: EnhancedPageObject | EnhancedSectionInstance;
parent: EnhancedPageObject;
selector: string;
}
@@ -1859,11 +1859,8 @@ export interface EnhancedPageObject extends SharedFunctions {
api: NightwatchAPI;
elements: {[name: string]: EnhancedElementInstance};
name: string;
section: {[name: string]: EnhancedSectionInstance};
}
export interface EnhancedSectionInstance extends EnhancedPageObject {}
interface SharedFunctions {
/**
* Clear a textarea or a text input element's value. Uses elementIdValue protocol command.