diff --git a/README.md b/README.md index 144ee25..f316c9f 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ const driver = new webdriver.Builder().usingServer('https://hub-cloud.browsersta - `driver` (**required**) - A Selenium driver instance - `name` (**required**) - The screenshot name; must be unique to each screenshot - `options` (**optional**) - There are various options supported by percyScreenshot to server further functionality. + - `sync` - Boolean value by default it falls back to `false`, Gives the processed result around screenshot [From CLI v1.28.0-beta.0+] - `fullPage` - Boolean value by default it falls back to `false`, Takes full page screenshot [From CLI v1.27.6+] - `freezeAnimatedImage` - Boolean value by default it falls back to `false`, you can pass `true` and percy will freeze image based animations. - `freezeImageBySelectors` - List of selectors. Images will be freezed which are passed using selectors. For this to work `freezeAnimatedImage` must be set to true. diff --git a/package.json b/package.json index 2ce933e..c5776d4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@percy/selenium-webdriver", "description": "Selenium client library for visual testing with Percy", - "version": "2.0.4", + "version": "2.0.4-beta.0", "license": "MIT", "author": "Perceptual Inc.", "repository": "https://github.com/percy/percy-selenium-js", @@ -30,11 +30,11 @@ "test:types": "tsd" }, "dependencies": { - "@percy/sdk-utils": "^1.27.2", + "@percy/sdk-utils": "^1.28.0-beta.0", "node-request-interceptor": "^0.6.3" }, "devDependencies": { - "@percy/cli": "^1.27.1", + "@percy/cli": "^1.28.0-beta.0", "@types/selenium-webdriver": "^4.0.9", "cross-env": "^7.0.2", "eslint": "^8.27.0",