Skip to content

Commit c8cd465

Browse files
committed
Do not switch to default content after frame screenshot. Leave it to the user
1 parent d312b60 commit c8cd465

File tree

1 file changed

+0
-1
lines changed
  • src/main/java/com/assertthat/selenium_shutterbug/core

1 file changed

+0
-1
lines changed

src/main/java/com/assertthat/selenium_shutterbug/core/Snapshot.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ public void save() {
224224
if (title != null && !title.isEmpty()) {
225225
image = ImageProcessor.addTitle(image, title, Color.red, new Font("Serif", Font.BOLD, 20));
226226
}
227-
driver.switchTo().defaultContent();
228227
FileUtil.writeImage(image, EXTENSION, screenshotFile);
229228
}
230229

0 commit comments

Comments
 (0)