mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
15 lines
334 B
TypeScript
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();
|