mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Use find service instead of remote directly (#19070)
This commit is contained in:
parent
cb67e6ce0d
commit
34a46ca8e0
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export function HeaderPageProvider({ getService, getPageObjects }) {
|
|||
|
||||
async clickSelector(selector) {
|
||||
log.debug(`clickSelector(${selector})`);
|
||||
await retry.try(async () => await remote.findByCssSelector(selector).click());
|
||||
await find.clickByCssSelector(selector);
|
||||
}
|
||||
|
||||
async confirmTopNavTextContains(text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue