Skip to content

Commit 30a81f5

Browse files
Update README.md
1 parent 713c309 commit 30a81f5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ Gets your user information
6363
api.getUserInfo(function(error, userInfo) {});
6464
```
6565

66+
### updateUserInfo
67+
Updates your user information
68+
69+
```javascript
70+
api.updateUserInfo(newUserdata, function(error, userInfo) {});
71+
```
72+
6673
### getTests
6774
Gets list of your latest tests
6875

@@ -181,14 +188,14 @@ api.getAuthenticationHashForSharing(sessionId);
181188
Takes screenshots for the specific browsers
182189

183190
```javascript
184-
api.getUserInfo(function(error, screenshots) {}, url, browsers, waitTime, resolution, fullPage, callbackURL);
191+
api.takeScreenshot(function(error, screenshots) {}, url, browsers, waitTime, resolution, fullPage, callbackURL);
185192
```
186193

187194
### retrieveScreenshots
188195
Retrieves screenshots for a specific `takeScreenshot` call
189196

190197
```javascript
191-
api.getUserInfo(screenshotId, function(error, screenshots) {});
198+
api.retrieveScreenshots(screenshotId, function(error, screenshots) {});
192199
```
193200

194201
### getScreenshotList

0 commit comments

Comments
 (0)