-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathvars.js
28 lines (25 loc) · 810 Bytes
/
vars.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const Utils = require("./utils");
const IP = "192.168.15.1";
const user = "admin";
const pass = "SENHA_AQUI";
const browser = "chrome";
const browserPaths = {
win32: {
firefox: "C:/Program Files/Mozilla Firefox/firefox.exe",
chrome: "C:/Program Files/Google/Chrome/Application/chrome.exe",
edge: "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe",
},
linux: {
firefox: "/snap/firefox/current/usr/lib/firefox/firefox",
chrome: "/usr/bin/google-chrome",
},
darwin: {
firefox: "/Applications/Firefox.app/Contents/MacOS/firefox",
chrome: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --kiosk"
}
};
exports.IP = IP;
exports.user = Utils.messUserPass(user);
exports.pass = Utils.messUserPass(pass);
exports.browserPaths = browserPaths;
exports.browser = browser;