Skip to content

Commit

Permalink
Add more details to the "selector_not_found" option
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Nov 13, 2024
1 parent 9143303 commit 77a0f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "screenshotone-errors",
"homepage": "https://screenshotone.com",
"version": "1.0.15",
"version": "1.0.16",
"description": "Errors produced by the ScreenshotOne API.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const allErrors: Record<ErrorCode, APIError> = {
title: "Selector Not Found",
code: "selector_not_found",
description:
"If `selector` is specified and `error_on_selector_not_found`=true, the error will be returned if the element by selector is not visible or it took more than timeout seconds to render it, but not more than 30 seconds.",
"If `selector` is specified and `error_on_selector_not_found`=true, or `click` is specified and `error_on_click_selector_not_found`=true, the error will be returned if the element by selector is not visible or it took more than timeout seconds to render it, but not more than 30 seconds.",
documentationUrl:
"https://screenshotone.com/docs/errors/selector-not-found/",
},
Expand Down

0 comments on commit 77a0f23

Please sign in to comment.