You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update ask-page exception handling and api call
* add new exceptions and rename old
* refactor return None instead of exception
* update download exception
* fix missing none check for page click and fill
* make screenshot optional for exception
* change default retry count to 2
* update default kwarg for page click and fill
* update default get_element retry count to 2 from 3
* rewrite Exception to DendriteException
Co-authored-by: Paul Sanders <[email protected]>
raiseException("OpenAI API key is required to use DendriteBrowser")
102
+
raiseMissingApiKeyError(
103
+
"OpenAI API key is required to use DendriteBrowser"
104
+
)
95
105
96
106
self._id=uuid4().hex
97
107
self._auth_data: Optional[AuthSession] =None
@@ -188,8 +198,8 @@ async def goto(
188
198
try:
189
199
prompt=f"We are checking if we have arrived on the expected type of page. If it is apparent that we have arrived on the wrong page, output an error. Here is the description: '{expected_page}'"
0 commit comments