matecsaj / ebay_rest

A pip package that conveniently wraps eBay’s RESTful APIs.
MIT License
43 stars 12 forks source link

Refactoring needed for token.py due to Selenium upgrade #53

Closed albytterc closed 2 years ago

albytterc commented 2 years ago

Hi matecsaj,

I was using this library for a project I'm working on and I found there is now an error in token.py. Specifically, the _get_authorization_code() method which contains the x.find_element_by_name and x.find_element_by_id methods have been deprecated in Selenium 4.3.0. Anyone who'd like to do the user token flow now encounters NameErrors due to the deprecated methods.

Thanks, Albert

matecsaj commented 2 years ago

Albert, thanks for the report. Please upgrade to version 0.0.21 and then retry.

pip3 install ebay_rest -U