justinkalland/protonmail-api

If a theme different than 'Proton' is selected, breaks

Closed this issue ยท 1 comments

Hi ๐Ÿ‘‹๐Ÿผ ! I just found your library and is really useful. Reading through the documentation and following the "viagra" example, I found out that if the user has another theme selected (in my case Carbon), the scrapper fails with the following error:

...
TimeoutError: waiting for selector `#ptSidebar` failed: timeout 30000ms exceeded
...

I know that it may be difficult to handle all the themes, but I think it should be mentioned in the initial README description so new users don't struggle finding out why this is happening.

Nevermind, for some reason it only worked when I selected the Proton theme before ๐Ÿ˜† , but I did more tests and the issue was a different one. Closing this and the PR.