HyunSeob / puppeteer-getting-started

I/O Extended 2019 WebTech에서 사용될 자료입니다.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puppeteer: Getting Started

I/O Extended 2019 WebTech 행사에서 사용한 코드 모음입니다. 직접 테스트해보시기 위해서 Node.js와 yarn이 필요합니다.

직접 테스트하기

의존성 설치하기

$ yarn # install

스크린샷

$ node screenshot

PDF

$ node pdf

e2e 테스트

다음과 같이 google-account.js를 작성합니다.

module.exports = {
  email: "your@google.email",
  password: "your-google-password"
};

그리고 명령어를 실행합니다.

$ yarn test

크롤링

$ node crawling

About

I/O Extended 2019 WebTech에서 사용될 자료입니다.

License:MIT License


Languages

Language:JavaScript 100.0%