Closed kroesche closed 4 months ago
Short term fix can be to make the changes I listed above. However I think a proper long term fix is to remove geckodriver from this package and use webdriver-manager which I believe will handle all platforms and install the current version of geckodriver on demand.
being worked on branch issue/135-webdriver-break
Addressed in release 1.5.6
Generating a gallery with a google photos album. Using fresh install of SPG with latest dependencies:
Investigating shows that
executable_path
was deprecated in selenium 4 and finally removed in selenium 4.10.So I constrained selenium to be
<4.10
in setup.py and reinstalled.geckodriver.log shows:
SPG bundled geckodriver is 0.23.0
Updated to latest geckodriver (on mac) which was 0.34.0 at the time of this writing.
Investigating finds that
find_elements_by_xpath
was removed in selenium 4.3.0. So I constrained selenium further to be<4.3
BTW geckodriver 0.34 fixes another problem that i ran into while investigating this problem. geckodriver tries to use
firefox-bin
on mac which was broken in firefox 121. In geckodriver 0.34.0 they worked around this by usingfirefox
binary instead (why are there two almost the same firefox binaries on mac?). So updating to geckodriver 0.34 actually fixes two problems.