another try

This commit is contained in:
Adina Parpalita
2020-01-05 23:24:16 +02:00
parent 98e10adebd
commit 821d0fc106

View File

@@ -85,6 +85,7 @@ export class FacetFilter extends GenericFilterPanel {
async checkCategory(name: string): Promise<void> {
const option = this.facets.filter(async (elem) => (await elem.getText()).includes(name)).first();
await browser.executeScript(`arguments[0].scrollIntoView();`, option);
await browser.actions().mouseMove(option).perform();
await browser.actions().click().perform();
}