Files
DefinitelyTyped/leadfoot/leadfoot-tests.ts
Rogier Schouten 12b8c644f1 Add Leadfoot typings (#11733)
* Remove global pollution to allow Node.JS and Leadfoot to be included together (Leadfoot uses a part of Dojo but not the conflicting globals). Add Thenable to support Leadfoot typings.

* Add leadfoot typings and initial tests.

* Remove ... references from tsconfig
2016-11-06 07:52:38 -08:00

15 lines
334 B
TypeScript

// Tests by: Rogier Schouten <https://github.com/rogierschouten>
import Command = require("leadfoot/Command");
import Element = require("leadfoot/Element");
import Session = require("leadfoot/Session");
var session: Session;
var command: Command<any> = new Command(session);
command
.findByXpath("some xpath")
.click()
.end();