Skip to content

Commit

Permalink
Add "hide_selectors" options
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Oct 13, 2022
1 parent 9986a9b commit 4fe9d49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

group = "com.screenshotone.jsdk"
archivesBaseName = "screenshotone-api-jsdk-jvm"
version = "1.0.1"
version = "1.0.2"

sourceCompatibility = 1.8

Expand Down Expand Up @@ -47,7 +47,7 @@ publishing {
name = 'ScreenshotOne API SDK'
packaging = 'jar'
groupId = 'com.screenshotone.jsdk'
version = '1.0.1'
version = '1.0.2'
artifactId = 'screenshotone-api-jsdk'
description = 'An official ScreenshotOne API client for JVM.'
url = 'https://screenshotone.com/'
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/com/screenshotone/jsdk/TakeOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,15 @@ public TakeOptions timeout(int timeout) {
return this;
}

/**
* Hides selectors.
*/
public TakeOptions hideSelectors(String... hideSelectors) {
put("hide_selectors", hideSelectors);

return this;
}

protected Map<String, List<String>> query() {
return query;
}
Expand Down

0 comments on commit 4fe9d49

Please sign in to comment.