Skip to content

Commit

Permalink
Update naukri.py
Browse files Browse the repository at this point in the history
Updated to include headless mode option as requested in #41
  • Loading branch information
navchandar authored Jul 11, 2024
1 parent eea4cd6 commit 2ee405d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion naukri.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
# False if you dont want to add Random HIDDEN chars to your resume
updatePDF = True

# If Headless = True, script runs Chrome in headless mode without visible GUI
headless = False

# ----- No other changes required -----

# Set login URL
Expand Down Expand Up @@ -389,7 +392,7 @@ def main():
log_msg("-----Naukri.py Script Run Begin-----")
driver = None
try:
status, driver = naukriLogin()
status, driver = naukriLogin(headless)
if status:
UpdateProfile(driver)
if os.path.exists(originalResumePath):
Expand Down

0 comments on commit 2ee405d

Please sign in to comment.