1.17.1 • Published 1 month ago

franklin-bulk-shared v1.17.1

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

Franklin Bulk Operations Shared Library

Install

npm install https://gitpkg.now.sh/catalan-adobe/franklin-bulk-shared

Usage

Sample script that takes a screenshot of the bottom of a page:

// take-screenshot.js

import * as franklin from 'franklin-bulk-shared';
  
// init headless browser
const [browser, page] = await franklin.Puppeteer.initBrowser();

// load test page
await page.goto('https://www.hlx.live');

// scroll down
await franklin.Puppeteer.scrollDown(page);

// wait 1s.
await franklin.Time.sleep(1000);

// take a screenshot
await page.screenshot({
  fullPage: false,
  path: 'screenshot.png'
});

// close browser
await browser.close();

Domains

  • Puppeteer (initBrowserAgent, scrollDown, scrollUp)
  • Time (sleep, randomSleep)
1.17.1

1 month ago

1.17.0

2 months ago

1.16.3

2 months ago

1.16.2

2 months ago

1.16.1

3 months ago

1.15.2

3 months ago

1.16.0

3 months ago

1.15.0

5 months ago

1.15.1

5 months ago

1.14.0

5 months ago

1.13.5

6 months ago

1.13.3

7 months ago

1.13.7

5 months ago

1.13.2

8 months ago

1.13.1

8 months ago

1.13.0

9 months ago

1.12.0

9 months ago

1.9.0

10 months ago

1.8.0

10 months ago

1.6.0

11 months ago

1.11.0

10 months ago

1.10.0

10 months ago

1.3.5

12 months ago

1.4.2

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.2.2

1 year ago

1.3.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago