UNPKG

tlc-core-automation-framework-v3-wdio-v9

Version:

Background: - We are following multi-layer automation framework architecture using webdriver.io + cucumber + typescript This core framework has been implemented with generic utility functions and cucumber steps, which can be easily consumed by another fra

7 lines (5 loc) 260 B
import scriptExecute from "./scriptExecute"; export default async function (key: string, value: object) { const script = "return (() => { localStorage.setItem('" + key + "', '" + value + "'); }).apply(null, arguments)" await scriptExecute(script); };