https://github.com/sujilnt/weatherdataautomation
A node script to automate adding of weather Data in DEXMA or DEXCELL .
https://github.com/sujilnt/weatherdataautomation
dexma game javascript puppeteer weather-data
Last synced: 4 months ago
JSON representation
A node script to automate adding of weather Data in DEXMA or DEXCELL .
- Host: GitHub
- URL: https://github.com/sujilnt/weatherdataautomation
- Owner: sujilnt
- Created: 2018-08-31T10:03:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T11:10:52.000Z (almost 5 years ago)
- Last Synced: 2025-01-28T03:35:16.635Z (5 months ago)
- Topics: dexma, game, javascript, puppeteer, weather-data
- Language: JavaScript
- Size: 37.1 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeatherDataAutomation
A node script or a Web Automation tool that is used to automate adding of weather Data in DEXMA or DEXCELL.
## Usage
First, install `commands`:
```sh
$ npm i weather-data-automation --save -dev
```Once installed create a javascript file weatherDemo.js, Once
```sh
const {weatherFunc} = require("weather-data-automation");
weatherFunc({
siteName: "siteName1", // siteNames
postCode:"postCode 1 " // postCode1,
emailId: "your email id",
password: "password of your email id ",
timezone: "time zones name", //default:Europe/London
location:" name of the location ", //dafault: united Kingdom
url:"dexma page url ", //ex:- https://optimisedbuildings.dexcell.com/login.htm
Its alwyas login page url must be provided
clientNameSelector:"clientid with selection on HTML ", // ex: .selection_container[id='3786']
launchSettings:{ devtools: true,// add any customised settings according pupeeteer}
})
```## To run in Terminal
``` sh
node weatherDemo.js
```Demo code weatherDemo.js , is put up on the Repo for more Reference. Feel free to play with them .