UNPKG

kibana-123

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

28 lines (22 loc) 467 B
import { defaultFindTimeout, } from '../'; export default class ShieldPage { init(remote) { this.remote = remote; } login(user, pwd) { var remote = this.remote; return remote.setFindTimeout(defaultFindTimeout) .findById('username') .type(user) .then(function () { return remote.findById('password') .type(pwd); }) .then(function () { return remote.findByCssSelector('.btn') .click(); }); } }