-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise screenshot error earlier when page is closed #1108
Raise screenshot error earlier when page is closed #1108
Conversation
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Raise `FailedToTakeScreenshot` in `take_screenshot()` if `page.is_closed()` in `page.py`. > > - **Behavior**: > - In `take_screenshot()` in `page.py`, raise `FailedToTakeScreenshot` if `page.is_closed()` before attempting to take a screenshot. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 2627a3801b74877c0a64d30a67383f4a7acc901b. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 095d430 in 6 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/webeye/utils/page.py:43
- Draft comment:
Consider including the page URL or identifier in the error message for better debugging context. - Reason this comment was not posted:
Confidence changes required:50%
The error message should be more descriptive to help with debugging.
Workflow ID: wflow_wdq1Dy7pSdvRUH7X
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 095d430 in 9 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/webeye/utils/page.py:43
- Draft comment:
Consider providing more context in the error message, such as the page URL or identifier, to aid in debugging. - Reason this comment was not posted:
Confidence changes required:50%
The error message should be more descriptive to help with debugging.
Workflow ID: wflow_KBhtDaSqR531UDyy
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 155c5ee in 9 seconds
More details
- Looked at
28
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. docs/integrations/workato.md:1
- Draft comment:
The PR description mentions changes inpage.py
to raise an error when a page is closed, but the diff only shows changes to this markdown file. Ensure the intended code changes are included in the PR. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_ttVQ1WzhYYgDvOEr
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Raise
FailedToTakeScreenshot
intake_screenshot()
ifpage.is_closed()
inpage.py
and add TOC toworkato.md
.take_screenshot()
inpage.py
, raiseFailedToTakeScreenshot
ifpage.is_closed()
before attempting to take a screenshot.workato.md
.This description was created by for 155c5ee. It will automatically update as commits are pushed.