fidelity-api 0.0.6__tar.gz → 0.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fidelity-api
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: An unofficial API for Fidelity
5
5
  Home-page: https://github.com/kennyboy106/fidelity-api
6
6
  Author: Kenneth Tang
@@ -998,8 +998,12 @@ class FidelityAutomation:
998
998
  self.wait_for_loading_sign()
999
999
 
1000
1000
  # If application is already started, then there will only be 1 "Next" button
1001
- self.page.get_by_role("button", name="Next").click()
1002
- self.wait_for_loading_sign()
1001
+ # Rarely there will be no "Next" button
1002
+ try:
1003
+ self.page.get_by_role("button", name="Next").click(timeout=15000)
1004
+ self.wait_for_loading_sign()
1005
+ except:
1006
+ pass
1003
1007
 
1004
1008
  # Open account
1005
1009
  self.page.get_by_role("button", name="Open account").click()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fidelity-api
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: An unofficial API for Fidelity
5
5
  Home-page: https://github.com/kennyboy106/fidelity-api
6
6
  Author: Kenneth Tang
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
5
5
 
6
6
  setup(
7
7
  name="fidelity-api",
8
- version="0.0.6",
8
+ version="0.0.7",
9
9
  author="Kenneth Tang",
10
10
  description="An unofficial API for Fidelity",
11
11
  long_description=long_description,
File without changes
File without changes
File without changes