From 30a81f58d4dbef5c15f963ebaf020806eba767f1 Mon Sep 17 00:00:00 2001 From: Jochen <137506783+jochen-testingbot@users.noreply.github.com> Date: Thu, 14 Mar 2024 14:18:39 +0100 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df143ba..8ec1ea1 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,13 @@ Gets your user information api.getUserInfo(function(error, userInfo) {}); ``` +### updateUserInfo +Updates your user information + +```javascript +api.updateUserInfo(newUserdata, function(error, userInfo) {}); +``` + ### getTests Gets list of your latest tests @@ -181,14 +188,14 @@ api.getAuthenticationHashForSharing(sessionId); Takes screenshots for the specific browsers ```javascript -api.getUserInfo(function(error, screenshots) {}, url, browsers, waitTime, resolution, fullPage, callbackURL); +api.takeScreenshot(function(error, screenshots) {}, url, browsers, waitTime, resolution, fullPage, callbackURL); ``` ### retrieveScreenshots Retrieves screenshots for a specific `takeScreenshot` call ```javascript -api.getUserInfo(screenshotId, function(error, screenshots) {}); +api.retrieveScreenshots(screenshotId, function(error, screenshots) {}); ``` ### getScreenshotList