Skip to content

Commit

Permalink
Change algorithms for "wait for selector"
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Sep 7, 2024
1 parent 8020c78 commit b066d43
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-validations",
"homepage": "https://screenshotone.com",
"version": "1.0.47",
"version": "1.0.48",
"description": "Validation schemes for the ScreenshotOne API requests.",
"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 @@ -370,7 +370,7 @@ const commonOptionsScheme = Joi.object({
wait_for_selector: Joi.string().optional(),
wait_for_selector_algorithm: Joi.string().valid(
"at_least_one",
"by_count"
"at_least_by_count"
).default('at_least_one').optional(),
fail_if_content_contains: Joi.string().optional(),

Expand Down

0 comments on commit b066d43

Please sign in to comment.