We need a file to handle searching a given page for a given search criteria, and returning links.
Please accomplish the following:
-
Create a new file: /src/main/search/handle-search.java
-
Include the Selenium Java packages for web scraping.
-
Main function within this file will accept two parameters: String: Link, and String: Criteria
-
Main function will also receive browser/context/page information for navigation.
-
This file must first navigate to Link
-
File must then enter Criteria into the correct search field and perform the search
-
File must then scrape every job posting for its link, and add it to an ArrayList<>
-
File must return only the ArrayList<>
100 points
We need a file to handle searching a given page for a given search criteria, and returning links.
Please accomplish the following:
Create a new file: /src/main/search/handle-search.java
Include the
Selenium Javapackages for web scraping.Main function within this file will accept two parameters:
String: Link, andString: CriteriaMain function will also receive browser/context/page information for navigation.
This file must first navigate to
LinkFile must then enter
Criteriainto the correct search field and perform the searchFile must then scrape every job posting for its link, and add it to an ArrayList<>
File must return only the ArrayList<>
100 points