We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c6ebb commit a378dd8Copy full SHA for a378dd8
1 file changed
src/main/java/io/swaglabs/portal/qa/screenshotsmanager/ElementScreenshotStrategy.java
@@ -8,10 +8,10 @@
8
@RequiredArgsConstructor
9
public class ElementScreenshotStrategy implements ScreenshotStrategy {
10
11
- private final Locator locator;
+ private final Locator LOCATOR;
12
13
@Override
14
public void capture(String filePath) {
15
- locator.screenshot(new Locator.ScreenshotOptions().setPath(Paths.get(filePath)));
+ LOCATOR.screenshot(new Locator.ScreenshotOptions().setPath(Paths.get(filePath)));
16
}
17
0 commit comments