-
Notifications
You must be signed in to change notification settings - Fork 1
Description
We need a file to handle calls to different search criteria.
Please accomplish the following:
-
Create a new file: /src/main/searches/searches-handler.java
-
Create a new file: /src/main/searches/criteria.json
-
Create a new file: /src/main/searches/sources.json
-
Include the Selenium Java packages for web scraping.
-
Intialize criteria.json with the following:
"indeed" : "Software Developer,Software Engineer,Information Technology" -
Initialize sources.json with the following:
"indeed" : "https://www.indeed.com/?from=gnav-jobseeker-profile--profile-one-frontend" -
Program must be able to parse through all keys in criteria.json and identify them.
-
For each key in criteria.json, program must call handle-search() from search.java
handle-search() does not exist yet. You may pass this for testing. However, write this program as if it existed. -
Program must pass the value of its key from sources.json.
-
Program must pass a search criteria, parsed from the value of its key in criteria.json.
-
handle-search() will always return a link as a String.
-
Program will iterate through each search criteria and each key, calling handle-search() for each iteration.
-
Program will return an array[keys] of Tuples[Criteria as Strings, ArrayLists].
150 points