Coder Social home page Coder Social logo

yujiosaka / wdb109_puppeteer Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 56 KB

WEB+DB PRESS Vol.109 特集「速習Puppeteer──ヘッドレスChromeでテスト&スクレイピング」サンプルコード

License: MIT License

HTML 7.83% JavaScript 86.48% CSS 5.68%
puppeteer sample tutorial headless-chrome scraper e2e-tests headless-browsers scraping

wdb109_puppeteer's Introduction

WDB109_Puppeteer

WEB+DB PRESS Vol.109 特集「速習Puppeteer──ヘッドレスChromeでテスト&スクレイピング」サンプルコード

特集目次

  • 第1章: Puppeteer の魅力は何か──ヘッドレスChromeを自由自在に操る
  • 第2章: ブラウザ操作自動化の基本──非同期処理を扱う async/await 関数、自動化の鍵を握る Puppeteer コンポーネント
  • 第3章: E2E テストの実装──非同期処理のテスト、パフォーマンス計測、カバレッジ
  • 第4章: スクレイピングの実装──人気サービス「note」のタイムラインを取得する

ディレクトリ構成

ディレクトリ名 説明
ch03 第3章で使用するサンプルコード
ch04 第4章で使用するサンプルコード

サンプルコードの解説、実行方法は本特集をご覧ください。

実行環境

サンプルコードは下記のバージョンで動作します。

  • Node.js:10.15.0
  • Puppeteer:1.11.0
  • Meteor: 1.8.0.2 (第3章でのみテスト対象として使用)

ライセンス

サンプルコードはMITライセンスで配布しています。

http://opensource.org/licenses/mit-license.php

お問い合わせ

不具合があった場合は本書Webページよりお問い合わせをお願いいたします。

ご注意

本サンプルコード、特集の内容に基づく運用結果について、著者、ソフトウェアの開発元および提供元、株式会社技術評論社は一切の責任を負いかねますので、あらかじめご了承ください。

wdb109_puppeteer's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.