MCPcopy Index your code
hub / github.com/eclipse-che/che / scrollToAndEnterValue

Method scrollToAndEnterValue

tests/e2e/utils/DriverHelper.ts:737–746  ·  view source on GitHub ↗
(
		elementLocator: By,
		value: string,
		timeout: number = TIMEOUT_CONSTANTS.TS_SELENIUM_CLICK_ON_VISIBLE_ITEM
	)

Source from the content-addressed store, hash-verified

735 }
736
737 async scrollToAndEnterValue(
738 elementLocator: By,
739 value: string,
740 timeout: number = TIMEOUT_CONSTANTS.TS_SELENIUM_CLICK_ON_VISIBLE_ITEM
741 ): Promise<void> {
742 Logger.trace();
743
744 await this.scrollTo(elementLocator, timeout);
745 await this.enterValue(elementLocator, value, timeout);
746 }
747
748 // method is useful to debug page object elements
749 async highLightElement(element: WebElement): Promise<void> {

Callers 1

addLabelMethod · 0.80

Calls 3

scrollToMethod · 0.95
enterValueMethod · 0.95
traceMethod · 0.80

Tested by

no test coverage detected