This is the Program of Puppeteer & Selenium running on Node.js.
The Selenium program allows you to open pre-specified URLs in sequence.
- npm or Yarn
- Node.js 12.17 or higher
- Chrome 91
- Clone this repository.
git clone https://github.com/SARDONYX-sard/nodejs-website-autorun-set.git
- Run command the following command.
npm install
If you are using Yarn, use the following command.
yarn install
npm run selenium-sample
If you are using Yarn, use the following command.
yarn run selenium-sample
npm run puppeteer
If you are using Yarn, use the following command.
yarn run puppeteer
Run command the following command.
npm run test
# or
npm run jest --coverage
If you are using Yarn, use the following command.
yarn run test
「Node.jsでブラウザを自動操作してみよう」の感想・備忘録2
Selenium Nodejs CHROMEDRIVER path
The library is available as open source under the terms of the MIT License.
Copyright 2021 SARDONYX. All rights reserved.