You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/types.d.ts
+8-37Lines changed: 8 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -49,27 +49,26 @@ export type PlaywrightLiveRecorderConfig_pageObjectModel = {
49
49
/**
50
50
* @remarks use to override/alias url fragments to page object model name
51
51
* @example { '': 'home', 'login/corporate' : 'login', 'login/personal' : 'login' } //redirect from root address to 'home' pom. use same pom for login/corporate and login/personal
52
-
* @default {}
53
52
*/aliases: {[key: string]: string},
54
53
/** @remarks Use this to find list of all selectors, and lookup method from selector @default /(.+)_selector\b/*/
55
54
propertySelectorRegex: RegExp,
56
55
/** @remarks Use this to find list of nested page objects within a given page object model file @default /(.+)_page\b/*/
57
56
propertyNestedTypeRegex: RegExp,
58
-
/** @remarks Use this to specify the text appended when LEFT clicked on in record mode @default [ ['input[type="text"], input[type=""], textarea', 'await $1.fill("");'], ['*', 'await $1.click();'] ] */
57
+
/** @remarks Use this to specify the text appended when LEFT clicked on in record mode @default [ ["input[type="text"]", 'fill()'], ["textarea", 'fill()'], ["/.*\/", "click()"] ] */
59
58
primaryActionByCssSelector: [string,string][],
60
-
/** @remarks Use this to specify the text appended when RIGHT clicked on in record mode @default [ ['input[type="text"], textarea', 'await expect($1.innerText()).toContain("");'], ['*', 'await expect($1.innerText()).toContain("");'], ['*', 'await expect($1).toBeVisible();'], ['*', 'await expect($1).toBeEnabled();'] ]*/
59
+
/** @remarks Use this to specify the text appended when RIGHT clicked on in record mode @default [ ["input[type="text"]", "await expect($1.innerText()).toContain('')"], ["textarea", "innerText().toContain('')"], ["/.*\/", ""]]*/
0 commit comments