20 lines
440 B
TypeScript
20 lines
440 B
TypeScript
import { $ } from "@wdio/globals";
|
|
|
|
import Page from "../page.js";
|
|
|
|
export class ApplicationForm extends Page {
|
|
async name() {
|
|
return await $('ak-text-input[name="name"]').$("input");
|
|
}
|
|
|
|
async uiSettings() {
|
|
return await $("ak-form-group").$('button[aria-label="UI Settings"]');
|
|
}
|
|
|
|
async launchUrl() {
|
|
return await $('input[name="metaLaunchUrl"]');
|
|
}
|
|
}
|
|
|
|
export default new ApplicationForm();
|