Skip to content

Commit

Permalink
Update invalid chars regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mialeska committed Mar 14, 2023
1 parent 8a66a1a commit 53983fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.util.stream.Collectors;

public class DumpManager<T extends IElement> implements IDumpManager {
private static final String INVALID_CHARS_REGEX = "[\\\\/|\\\\\\\\|\\\\*|\\\\:|\\\\||\\\"|\\'|\\\\<|\\\\>|\\\\{|\\\\}|\\\\?|\\\\%|,]";
private static final String INVALID_CHARS_REGEX = "[\\\\/|*:\"'<>{}?%,]";

private final Map<String, T> elementsForVisualization;
private final String formName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ChromeApplication implements IApplication {
private final RemoteWebDriver driver;

ChromeApplication(long implicitWaitSeconds) {
driver = new ChromeDriver(new ChromeOptions().addArguments("--headless").addArguments("--remote-allow-origins=*"));
driver = new ChromeDriver(new ChromeOptions().addArguments("--headless", "--remote-allow-origins=*"));
setImplicitWaitTimeout(Duration.ofSeconds(implicitWaitSeconds));
}

Expand Down

0 comments on commit 53983fa

Please sign in to comment.