0.0.5-test4 • Published 9 months ago

intuned-runner v0.0.5-test4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

To test locally, you can:

  • create index.ts file with the following content:
import type { BrowserContext } from "playwright";

async function run(context: BrowserContext, params: any) {
  const page = await context.newPage();
  await page.goto("https://www.wikipedia.org/");
  await page.getByLabel("Search Wikipedia").click();
  await page.getByLabel("Search Wikipedia").type("ahmad");
  await page.getByLabel("Search Wikipedia").press("Enter");
  await page.goto("https://en.wikipedia.org/wiki/Muslim_world");
  await page.goto("https://www.google.com/");
  return { done: "true", params };
}

export default run;
  • to test cli mode, do yarn intuned-runner.
  • to test web server mode, do yarn intuned-build.

  • to run the output server node ./output/bundle.js and call on port 4000

Notes:

  • you can do yarn intuned-runner --help or yarn intuned-build --help to get cli options.
  • for publishing yarn build and npm publish (for now, faisal only can publish).
  • to test vanilla mode, do the same as the above except the index.ts content and the mode you should pass.
async function userscript(params) {
  return {
    name: "vanilla",
    params,
  };
}

export default userscript;
0.0.5-test4

9 months ago

0.0.5-test3

9 months ago

0.0.4-test2

9 months ago

0.0.6-mfp

9 months ago

0.0.5-mfp

9 months ago

0.0.4-mfp

9 months ago

0.0.2-mfp

9 months ago

0.0.1-mfp

9 months ago

0.0.0-mfp

9 months ago

0.0.4-test

9 months ago

0.0.3-test

9 months ago

0.0.2-test

9 months ago

0.0.1-test

9 months ago

0.7.2

9 months ago

0.0.0-test

9 months ago

0.7.2-rami

9 months ago

0.7.1

9 months ago

0.7.0

9 months ago

0.6.2

10 months ago

0.6.1

10 months ago

0.6.0

10 months ago

0.5.0

10 months ago

0.5.0-test-4

10 months ago

0.5.0-test-3

10 months ago

0.5.0-test-2

10 months ago

0.5.0-test-1

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.0

10 months ago

0.2.0

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.21

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago