The Converter From xxx.side file recorded by Selenium IDE
to xxx.js file with Puppeteer
in order to automate your operation at browser.
workspace
|_ /sel2pup
- Track your operation by SeleniumIDE
- Export xxx.side file by SeleniumIDE
- Execute command
python ./sel2pup/converters/parser.py -i xxx.side
to exportxxx.yml
file - Replace secret information in
xxx.yml
with{DOTENV_NAME}
- Execute command
python ./sel2pup/converters/dotenv.py -i xxx.yml
to export.env
file - Write down secret information in
.env
file -- it'll be not managed by Git - Execute command
python ./sel2pup/converters/generator.py -i xxx.yml
to exportxxx.js
file - Customize source code
xxx.js
as you like -- e.g. loop, using custom variables, getting DOM values - Execute command
node xxx.js
with Puppeteer - Execute command
find ./sel2pup/screenshot/*.png | xargs open
to check images
- Python
- Node.js
- divide modules tightly coupled into each parts
- add test code
- enable script to export images to cloud strage like S3 / GCS
- use CircleCI or TravisCI
- manage library dependencies as code
- define support version about Python & Node.js
- write usage document for programmer
- write usage document for non-programmer
- add open source license