MCPcopy
hub / github.com/google/tamperchrome / sendKeysToActiveElement

Function sendKeysToActiveElement

v2/ui/e2e/src/app.e2e-spec.ts:4–6  ·  view source on GitHub ↗
(...keys)

Source from the content-addressed store, hash-verified

2import { by, logging, Key, browser } from 'protractor';
3
4const sendKeysToActiveElement = (...keys) =>
5 browser.controlFlow().execute(() =>
6 browser.switchTo().activeElement().sendKeys(...keys));
7
8const numberOfVisibleElements = async (css) => {
9 const elems = await browser.findElements(by.css(css));

Callers 1

app.e2e-spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected