Skip to content

Commit

Permalink
docs: update broken link (wix#2408) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjohnsonMP authored Oct 13, 2020
1 parent 589fc6e commit d6483ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/APIRef.DeviceObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ await device.setLocation(32.0853, 34.7818);

### `device.setURLBlacklist([urls])`

Disable [EarlGrey's network synchronization mechanism](https://github.com/google/EarlGrey/blob/master/docs/api.md#network) on preferred endpoints. Useful if you want to on skip over synchronizing on certain URLs. To disable endpoints at initialization, pass in the blacklist at [device launch](#10-initialize-the-url-blacklist-at-device-launch).
Disable [EarlGrey's network synchronization mechanism](https://github.com/google/EarlGrey/blob/master/docs/api.md#network) on preferred endpoints. Useful if you want to on skip over synchronizing on certain URLs. To disable endpoints at initialization, pass in the blacklist at [device launch](#11-detoxurlblacklistregexinitialize-the-url-blacklist-at-app-launch).


```js
await device.setURLBlacklist(['.*127.0.0.1.*']);
Expand Down

0 comments on commit d6483ae

Please sign in to comment.