Open PitaFLAME opened 1 week ago
Going to take some time with this issue to try and get used to Selenium/guide me on what I need to learn. Will be keeping updated.
After working with the issue for a couple hours I have a couple of questions.
What can I do to test my current iteration? When you say main function do you mean "public static void main" or a different "main" function? Is the handle-search file only supposed to contain selenium logic or also springboot annotations? How do I return an array list from this file?
I have a grasp on the core selenium logic and how to use WebDriver but I am struggling to understand how the system interacts.
Hey, so forgive me, I'm actually used to PlaywrightJS more than I am with Selenium, so if some of the requirements I put in here don't make complete sense, that's 100% on me. (I'm only subbing in for Frankie rn lol)
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
, andString: 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 searchFile must then scrape every job posting for its link, and add it to an ArrayList<>
File must return only the ArrayList<>
100 points