-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
36 lines (35 loc) · 1.01 KB
/
config.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
29
30
31
32
33
34
35
36
const selectors = {
indeed: {
inputs: {
search: {
main: "input[id$='what'],input[id$='where']",
desc: "input[id$='what']",
loc: "input[id$='where']",
},
submit: "button[class$='WhatWhere-button'],input[class='input_submit']"
},
results: {
next: {
span: "span[class='pn']",
arrow: "a[aria-label*='Next']"
},
row: "div[class*='unifiedRow']",
details: {
job_title: "h2[class='title']",
rating: "span[class='ratingsContent']",
location: "div[class*='location']",
summary: "div[class*='summary']"
},
key: "span[class='company']",
popover: "div[id*='popover']",
closePopover: "a[class*='popover-x-button-close']",
}
}
};
const urls = {
indeed: 'https://www.indeed.com/'
};
module.exports = {
selectors,
urls
};