automation_model 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +38 -0
- package/.vscode/launch.json +30 -0
- package/README.md +3 -0
- package/ai_config.json +53 -0
- package/build/auto_page.d.ts +5 -0
- package/build/auto_page.js +56 -0
- package/build/auto_page.js.map +1 -0
- package/build/browser_manager.d.ts +28 -0
- package/build/browser_manager.js +72 -0
- package/build/browser_manager.js.map +1 -0
- package/build/environment.d.ts +23 -0
- package/build/environment.js +12 -0
- package/build/environment.js.map +1 -0
- package/build/index.js +7 -0
- package/build/index.js.map +1 -0
- package/build/init_browser.d.ts +7 -0
- package/build/init_browser.js +59 -0
- package/build/init_browser.js.map +1 -0
- package/build/locator.d.ts +15 -0
- package/build/locator.js +172 -0
- package/build/locator.js.map +1 -0
- package/build/stable_browser.d.ts +26 -0
- package/build/stable_browser.js +526 -0
- package/build/stable_browser.js.map +1 -0
- package/build/table_analyze.d.ts +3 -0
- package/build/table_analyze.js +64 -0
- package/build/table_analyze.js.map +1 -0
- package/build/test_context.d.ts +13 -0
- package/build/test_context.js +12 -0
- package/build/test_context.js.map +1 -0
- package/env.json +3 -0
- package/package.json +14 -11
- package/{bin/auto_page.js → src/auto_page.ts} +58 -57
- package/{bin/browser_manager.js → src/browser_manager.ts} +87 -78
- package/src/environment.ts +24 -0
- package/{bin/index.js → src/index.ts} +6 -6
- package/src/init_browser.ts +65 -0
- package/{bin/locator.js → src/locator.ts} +173 -159
- package/{bin/stable_browser.js → src/stable_browser.ts} +523 -520
- package/{bin/table_analyze.js → src/table_analyze.ts} +69 -61
- package/src/test_context.ts +16 -0
- package/tests/create_new_repository.test.js +62 -0
- package/tests/debug.test.js +41 -0
- package/tests/gmail_login.test.js +39 -0
- package/tests/launch_page.test.js +32 -0
- package/tests/navigate_to_new_repository_page.test.js +45 -0
- package/tsconfig.json +110 -0
- package/bin/auto_page.d.ts +0 -3
- package/bin/browser_manager.d.ts +0 -16
- package/bin/environment.d.ts +0 -4
- package/bin/environment.js +0 -9
- package/bin/init_browser.d.ts +0 -3
- package/bin/init_browser.js +0 -61
- package/bin/locator.d.ts +0 -21
- package/bin/stable_browser.d.ts +0 -61
- package/bin/table_analyze.d.ts +0 -1
- package/bin/test_context.d.ts +0 -6
- package/bin/test_context.js +0 -9
- /package/{bin → build}/index.d.ts +0 -0
package/bin/stable_browser.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export class StableBrowser {
|
|
2
|
-
constructor(browser: any, page: any, logger: any);
|
|
3
|
-
browser: any;
|
|
4
|
-
page: any;
|
|
5
|
-
logger: any;
|
|
6
|
-
goto(url: any): Promise<void>;
|
|
7
|
-
_fixUsingParams(text: any, _params: any): any;
|
|
8
|
-
_getLocator(locator: any, scope: any, _params: any): any;
|
|
9
|
-
_locateElementByText(scope: any, text1: any, tag1: any, regex?: boolean, _params?: null): Promise<any>;
|
|
10
|
-
_collectLocatorInformation(selectorHierarchy: any, index: number | undefined, scope: any, foundLocators: any, _params: any): Promise<void>;
|
|
11
|
-
_locate(selectors: any, info: any, _params: any, timeout?: number): Promise<any>;
|
|
12
|
-
click(selector: any, _params?: null, options?: {}, world?: null): Promise<{
|
|
13
|
-
log: any[];
|
|
14
|
-
operation: string;
|
|
15
|
-
selector: any;
|
|
16
|
-
}>;
|
|
17
|
-
selectOption(selector: any, values: any, _params?: null, options?: {}, world?: null): Promise<{
|
|
18
|
-
log: any[];
|
|
19
|
-
operation: string;
|
|
20
|
-
selector: any;
|
|
21
|
-
}>;
|
|
22
|
-
fill(selector: any, value: any, enter?: boolean, _params?: null, options?: {}, world?: null): Promise<{
|
|
23
|
-
log: any[];
|
|
24
|
-
operation: string;
|
|
25
|
-
selector: any;
|
|
26
|
-
value: any;
|
|
27
|
-
}>;
|
|
28
|
-
getText(selector: any, _params?: null, options?: {}, info?: {}, world?: null): Promise<any>;
|
|
29
|
-
containsPattern(selector: any, pattern: any, text: any, _params?: null, options?: {}, world?: null): Promise<{
|
|
30
|
-
log: any[];
|
|
31
|
-
operation: string;
|
|
32
|
-
selector: any;
|
|
33
|
-
value: any;
|
|
34
|
-
pattern: any;
|
|
35
|
-
foundText: any;
|
|
36
|
-
}>;
|
|
37
|
-
containsText(selector: any, text: any, _params?: null, options?: {}, world?: null): Promise<{
|
|
38
|
-
log: any[];
|
|
39
|
-
operation: string;
|
|
40
|
-
selector: any;
|
|
41
|
-
value: any;
|
|
42
|
-
foundText: any;
|
|
43
|
-
}>;
|
|
44
|
-
_screenShot(options?: {}, world?: null): Promise<void>;
|
|
45
|
-
verifyElementExistInPage(selector: any, _params?: null, options?: {}, world?: null): Promise<{
|
|
46
|
-
log: any[];
|
|
47
|
-
operation: string;
|
|
48
|
-
selector: any;
|
|
49
|
-
}>;
|
|
50
|
-
analyzeTable(selector: any, query: any, operator: any, value: any, _params?: null, options?: {}, world?: null): Promise<{
|
|
51
|
-
log: any[];
|
|
52
|
-
operation: string;
|
|
53
|
-
selector: any;
|
|
54
|
-
query: any;
|
|
55
|
-
query_fixed: any;
|
|
56
|
-
operator: any;
|
|
57
|
-
value: any;
|
|
58
|
-
}>;
|
|
59
|
-
waitForPageLoad(options?: {}, world?: null): Promise<void>;
|
|
60
|
-
_reportToWorld(world: any, properties?: {}): void;
|
|
61
|
-
}
|
package/bin/table_analyze.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getTableCells(page: any, element: any, tableSelector: any, info?: {}): Promise<any>;
|
package/bin/test_context.d.ts
DELETED
package/bin/test_context.js
DELETED
|
File without changes
|