jmausolf / poshmark_sharing

BSD 3-Clause "New" or "Revised" License
111 stars 58 forks source link

Chrome #3

Open hsw28 opened 6 years ago

hsw28 commented 6 years ago

Any plans to implement this for chrome? thanks!

david531 commented 6 years ago

Hello @hsw28 I found out how to do this in chrome but you need a little bit of tweaking.

First download the chromedriver if you're using windows the 32bit version will work fine. Then you have to add it to you PATH variable.

Second with your favorite text editor modify this bit of code on the "share_war.py"

    while True:
        #Start Driver, Get URLS, Close
        #driver = webdriver.Firefox() 
        driver = webdriver.Chrome() 
        driver.implicitly_wait(0)

Comment out the firefox driver and add the "driver = webdriver.Chrome()" save and exit. Then run the script it should start working on chrome.