xingweitian / fund-my-watcard

A tool to add fund to WatCard easily.
https://pypi.org/project/fund-my-watcard/
GNU General Public License v3.0
10 stars 4 forks source link

Fund watcard will fail if chrome is not installed #29

Open KevinLu opened 5 years ago

KevinLu commented 5 years ago

To fix this issue, we should let the user choose which browser they want the program to use.

Here are the proposed browsers:

If the user selects a browser that they do not have, we should display a message saying so.

KevinLu commented 5 years ago

I will work on this tomorrow and add Firefox compatibility.

KevinLu commented 5 years ago

I am having some issues with the webdriver, so I will leave this task until Weitian and I can discuss it later.

KevinLu commented 5 years ago

So Weitian and I discussed this issue yesterday.

The issue only happens when I run the script via CMD, but it works when using the debug mode in PyCharm.

He suggests this issue needs further investigation.

For now, I can just write the code for checking for Chrome and Firefox; with Chrome being the default webdriver used.