mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
14 lines
428 B
TypeScript
14 lines
428 B
TypeScript
import { AppiumDriver } from "nativescript-dev-appium";
|
|
import { PageObjectBaseModel } from "../../page-object-base-model";
|
|
|
|
export class ActionBarBasePage extends PageObjectBaseModel {
|
|
private readonly automationText: string = "actionBar";
|
|
constructor(_driver: AppiumDriver) {
|
|
super(_driver, ["action-bar"]);
|
|
}
|
|
|
|
get actionBar() {
|
|
return this._driver.waitForElement(this.automationText);
|
|
}
|
|
}
|