Use find service instead of remote directly (#19070)

This commit is contained in:
Stacey Gammon 2018-05-15 14:16:28 -04:00 committed by GitHub
parent cb67e6ce0d
commit 34a46ca8e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {