Skip to content

Commit

Permalink
Fix the new updated on campus job search button
Browse files Browse the repository at this point in the history
  • Loading branch information
wimpywarlord committed Dec 18, 2023
1 parent 222dcbc commit fcda030
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions assets/script/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ---------------------------------------
# -------------- IMPORTANT --------------
# ---------------------------------------
# STEP 1: Create a file named `.env` in the same folder as this file.
# STEP 2: Paste all the content of this file into `.env` file

# Enter your ASU username and password
# * AppliFly will not store or log any user data/credentials.
# * You run this script in your own machine locally.
ASUUSERNAME=kdhyani
ASUPASSWORD=WSXqaz456@789+*

# Answer in either `true` or `false`
# Example: FEDERAL_WORK_STUDY=true
FEDERAL_WORK_STUDY=true

# Enter the path to your resume and cover letter

# How to find path of a file?
# Windows - https://www.computerhope.com/issues/ch001708.htm#:~:text=How%20to%20find%20the%20absolute,the%20path%20to%20the%20file.
# Mac - https://superuser.com/questions/371513/how-to-tell-full-path-of-file-on-mac

# TESTED FILE FORMAT - .pdf

# We need to specify the absolute path here.
# Example: /Users/admin/Downloads/resume.pdf
PATH_TO_RESUME=/Users/kdhyani/KSHITIJ_DHYANI_CV.pdf
PATH_TO_COVER_LETTER=/Users/kdhyani/KSHITIJ_DHYANI_CV.pdf
2 changes: 1 addition & 1 deletion assets/script/appliFly.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
employmentHomePageUrl = 'https://students.asu.edu/employment/search'
chromeDriver.get(employmentHomePageUrl)

on_campus_job_button = chromeDriver.find_element(By.XPATH ,"/html/body/div[3]/div[2]/main[3]/div/div/div/div[2]/div/div/div/div/div[1]/div/div/div/div[1]/a/button")
on_campus_job_button = chromeDriver.find_element(By.XPATH ,"/html/body/div/div/main/div[2]/article/div[2]/div/div/div/div/div/div[4]/div/a[1]")

on_campus_job_button.click()

Expand Down

0 comments on commit fcda030

Please sign in to comment.