We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any
1 parent 1a5fd11 commit 5aa0bbaCopy full SHA for 5aa0bba
e2e/utils.e2e.ts
@@ -18,7 +18,7 @@ export class E2EUtils {
18
*/
19
expectFocusOn(element: FinderResult, expected = true): void {
20
expect(browser.driver.switchTo().activeElement().getInnerHtml()).toBe(
21
- (this._getElement(element) as any).getInnerHtml(),
+ this._getElement(element).getWebElement().getInnerHtml(),
22
`Expected element${expected ? '' : ' not'} to be focused.`
23
);
24
}
0 commit comments