Development Project/Puppeteer (Node JS) (2) 썸네일형 리스트형 퍼펫티어 (Puppeteer) Docker 사용 (2) Docker 이미지 생성 및 간단한 실습 1. docker에서 node : lastext 을 실행 시킨다. User ~ $ docker run -it node:latest /bin/bash Unable to find image 'node:latest' locally latest: Pulling from library/node 7919f5b7d602: Already exists 0e107167dcc5: Already exists 66a456bba435: Already exists 5435318a0426: Already exists 8494dd328465: Already exists 3b01939c6506: Already exists aa34f14b8c8c: Pull complete 223f911f3cb0:.. 퍼펫티어 (Puppeteer) Docker 사용 (1) Puppeteer (Node) Chrome 제어를 돕는 RPA 라이브러리 Headless 환경으로 Chrome Client 를 제어할 수 있게끔 지원해주는 RPA (Robotic Process Automation) 라이브러리로 자동화 테스트 툴로 많이 사용되 있다. 사용 가능 환경 Node JS : 6.0 이상 Chrome Client : 59 이상 Node JS 사용이 가능한 모든 환경 기능 SPA ( Single Page Application) 기반 웹페이지 렌더링 가능 키보드, 마우스를 제어할 수 있음 웹페이지 테스트 도구로 사용될 수있음 렌더링 된 페이지를 크롤링 할 수 있음 스크린샷을 찍거나 PDF 파일로 변환이 가능 웹의 Elements 를 컨트롤 가능 XPath , Seletor 를 통한 q.. 이전 1 다음