HellAmbro / Trading212API

Unofficial Trading212 API
MIT License
57 stars 27 forks source link

Driver issue? #11

Closed Originn closed 2 years ago

Originn commented 2 years ago

When executing trading212.get_portfolio_composition() I get the following error:

`selenium.common.exceptions.TimeoutException: Message: Stacktrace:

0 0x55bb3ede4ad3

1 0x55bb3eb44568

2 0x55bb3eb7ac46

3 0x55bb3eb7ae01

4 0x55bb3ebada64

5 0x55bb3eb9861d

6 0x55bb3ebab824

7 0x55bb3eb984e3

8 0x55bb3eb6dd1a

9 0x55bb3eb6ee75

10 0x55bb3ee12efd

11 0x55bb3ee2c19b

12 0x55bb3ee14c65

13 0x55bb3ee2cec8

14 0x55bb3ee08360

15 0x55bb3ee48a68

16 0x55bb3ee48be8

17 0x55bb3ee627fd

18 0x7fcecebe9609 `

Any idea what is wrong? The driver is set up correctly and I can get into website and print the header etc, so I am guessing it's not related to driver setup. I can also login to my 212 account as I get the login notification.

HellAmbro commented 2 years ago

Hi, can you please provide the version of your driver?

Originn commented 2 years ago

Sure, I am using Google Chrome 100.0.4896.88

HellAmbro commented 2 years ago

Thanks. It's a TimeoutException so maybe something was changed in Trading212 web page and the software it's not able to click or find it. I will investigate asap and let you know about the problem. Thanks for reporting the issue.

HellAmbro commented 2 years ago

I've spotted the error, please let me know if it's work now. Thanks for reporting. Clone the latest version from GitHub, don't use pip for now