dkkocab / WebSiteBot_PS5

This is a bot that will buy a PS5 through Walmart. It's written in python and uses selenium to interact with web pages. *WORK IN PROGRESS*
342 stars 91 forks source link

Changed chromedriver string to dynamic from static #3

Open drpresq opened 3 years ago

drpresq commented 3 years ago

Changed chromedriver string to dynamic from static Various PEP 8 formatting adjustments

drpresq commented 3 years ago

It should work for both Linux and Windows. If the platform is Linux it runs find / -iname chromedriver 2>/dev/null. If the platform is not linux it assumes windows and runs dir C:\chromedriver.exe /b/s which returns the path to chromedriver.exe starting from the C drive.