Skip to content

Commit

Permalink
add explicit path specifcation to chrome driver
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijASU committed Oct 21, 2023
1 parent 2009acb commit 222dcbc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion assets/script/appliFly.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException

from selenium.webdriver.chrome.options import Options

try:
# ! Make sure you have installed all the dependencies:
Expand Down Expand Up @@ -57,7 +58,14 @@
# ? When we change jobDetails from the URL using siteid of some other job, it still loads up perfectly.

# Create a new instance of the browser (make sure you have the appropriate driver installed)
chromeDriver = webdriver.Chrome() # You can use other drivers like Firefox, Edge, etc.
# You can use other drivers like Firefox, Edge, etc.

# ____________ If Facing Jobs 0 Jobs found issue ________________
# Absolute Path to Chrome Driver Example: C:\Users\ASUS\Downloads\chrome\chrome.exe
# chromeDriver = webdriver.Chrome(executable_path=r"Absolute Path to the Chrome Driver") # Uncomment this if facing 0 jobs found issue
# ____________ No Erros ____________________
chromeDriver = webdriver.Chrome() # Comment this out if facing 0 jobs found issue

chromeDriver.maximize_window()

# Navigate to the website
Expand Down

0 comments on commit 222dcbc

Please sign in to comment.