This repository has been archived on 2024-05-31 . You can view files and clone it, but cannot push or open issues or pull requests.
23 lines
575 B
TypeScript
23 lines
575 B
TypeScript
import Page from "../page.js";
|
|||
import { $ } from "@wdio/globals";
|
|||
|
|||
export class TransparentProxyForm extends Page {
|
|||
async setAuthorizationFlow(selector: string) {
|
|||
await this.searchSelect(
|
|||
'>>>ak-flow-search[name="authorizationFlow"] input[type="text"]',
|
|||
"authorizationFlow",
|
|||
`button*=${selector}`,
|
|||
);
|
|||
}
|
|||
|
|||
get externalHost() {
|
|||
return $('>>>input[name="externalHost"]');
|
|||
}
|
|||
|
|||
get internalHost() {
|
|||
return $('>>>input[name="internalHost"]');
|
|||
}
|
|||
}
|
|||
|
|||
export default new TransparentProxyForm();
|