simplex 1.2.58__tar.gz → 1.2.61__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.
Potentially problematic release.
This version of simplex might be problematic. Click here for more details.
- {simplex-1.2.58 → simplex-1.2.61}/PKG-INFO +1 -1
- {simplex-1.2.58 → simplex-1.2.61}/setup.py +1 -1
- {simplex-1.2.58 → simplex-1.2.61}/simplex/simplex.py +1 -2
- {simplex-1.2.58 → simplex-1.2.61}/simplex.egg-info/PKG-INFO +1 -1
- {simplex-1.2.58 → simplex-1.2.61}/LICENSE +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/README.md +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/setup.cfg +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex/__init__.py +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex/cli.py +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex/deploy/__init__.py +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex/deploy/push.py +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex.egg-info/SOURCES.txt +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex.egg-info/dependency_links.txt +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex.egg-info/entry_points.txt +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex.egg-info/requires.txt +0 -0
- {simplex-1.2.58 → simplex-1.2.61}/simplex.egg-info/top_level.txt +0 -0
|
@@ -81,7 +81,6 @@ class Simplex:
|
|
|
81
81
|
self.pw = None
|
|
82
82
|
|
|
83
83
|
def close_session(self):
|
|
84
|
-
time.sleep(30)
|
|
85
84
|
if PLAYWRIGHT_AVAILABLE and self.pw_browser:
|
|
86
85
|
try:
|
|
87
86
|
self.pw_browser.close()
|
|
@@ -218,7 +217,7 @@ class Simplex:
|
|
|
218
217
|
)
|
|
219
218
|
if 'succeeded' not in response.json():
|
|
220
219
|
raise ValueError(f"It looks like the click action failed to return a response. Did you set your api_key when creating the Simplex class?")
|
|
221
|
-
if
|
|
220
|
+
if response.json()["succeeded"]:
|
|
222
221
|
return response.json()["element_clicked"]
|
|
223
222
|
else:
|
|
224
223
|
raise ValueError(f"Failed to click element: {response.json()['error']}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|