From 3525a48a1a54ddad2c718ef79ec32fcdfd45dbd7 Mon Sep 17 00:00:00 2001 From: amit3200 Date: Wed, 25 Oct 2023 14:08:00 +0530 Subject: [PATCH] Updating few lint issues in ReadMe --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 751436a..50d6ab1 100644 --- a/README.md +++ b/README.md @@ -149,14 +149,20 @@ const driver = new webdriver.Builder().usingServer('https://hub-cloud.browsersta - `ignoreRegionXpaths` - List of xpaths. elements in the DOM can be ignored using xpath - `ignoreRegionSelectors` - List of selectors. elements in the DOM can be ignored using selectors. - `ignoreRegionSeleniumElements` - List of selenium web-element. elements can be ignored using selenium_elements. - - `customIgnoreRegions` - List of custom object. elements can be ignored using custom boundaries. Just passing a simple object for it like below. - - example: ```json{top: 10, right: 10, bottom: 120, left: 10}``` + - `customIgnoreRegions` - List of custom objects. elements can be ignored using custom boundaries. Just passing a simple object for it like below. + - example: + ``` + {top: 10, right: 10, bottom: 120, left: 10} + ``` - In above example it will draw rectangle of ignore region which will be 10px below from top and 120px above from bottom. 10px apart from left and right. - `considerRegionXpaths` - List of xpaths. elements in the DOM can be considered for diffing and will be ignored by Intelli Ignore using xpaths. - `considerRegionSelectors` - List of selectors. elements in the DOM can be considered for diffing and will be ignored by Intelli Ignore using selectors. - `considerRegionSeleniumElements` - List of selenium web-element. elements can be considered for diffing and will be ignored by Intelli Ignore using selenium_elements. - - `customConsiderRegions` - List of custom object. elements can be considered for diffing and will be ignored by Intelli Ignore using custom boundaries - - example: ```json{top: 10, right: 10, bottom: 120, left: 10}``` + - `customConsiderRegions` - List of custom objects. elements can be considered for diffing and will be ignored by Intelli Ignore using custom boundaries + - example: + ``` + {top: 10, right: 10, bottom: 120, left: 10} + ``` - In above example it will draw rectangle of ignore region which will be 10px below from top and 120px above from bottom. 10px apart from left and right. ### Creating Percy on automate build