Skip to content

Commit a378dd8

Browse files
Renamed variable.
1 parent 54c6ebb commit a378dd8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/swaglabs/portal/qa/screenshotsmanager/ElementScreenshotStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
@RequiredArgsConstructor
99
public class ElementScreenshotStrategy implements ScreenshotStrategy {
1010

11-
private final Locator locator;
11+
private final Locator LOCATOR;
1212

1313
@Override
1414
public void capture(String filePath) {
15-
locator.screenshot(new Locator.ScreenshotOptions().setPath(Paths.get(filePath)));
15+
LOCATOR.screenshot(new Locator.ScreenshotOptions().setPath(Paths.get(filePath)));
1616
}
1717
}

0 commit comments

Comments
 (0)