Skip to content

Commit

Permalink
Add the "error_on_click_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 b4895f3 commit 521d734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "screenshotone-validations",
"homepage": "https://screenshotone.com",
"version": "1.0.55",
"version": "1.0.56",
"description": "Validation schemes for the ScreenshotOne API requests.",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ const commonOptionsScheme = Joi.object({
styles: Joi.string().optional(),
hide_selectors: Joi.array().items(),
click: Joi.string().optional(),
error_on_click_selector_not_found: Joi.boolean().default(true),

// viewport options
viewport_device: Joi.string()
Expand Down

0 comments on commit 521d734

Please sign in to comment.