Skip to content

Commit 07dfcc4

Browse files
committed
[java] Explicitly set flatten = true when attaching to CDP target, it's preferred mode
1 parent 802d2ca commit 07dfcc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/devtools/DevTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void createSession() {
8888
// Start the session.
8989
cdpSession =
9090
connection
91-
.sendAndWait(cdpSession, Target.attachToTarget(targetId, Optional.empty()), timeout);
91+
.sendAndWait(cdpSession, Target.attachToTarget(targetId, Optional.of(true)), timeout);
9292

9393
try {
9494
// We can do all of these in parallel, and we don't care about the result.

0 commit comments

Comments
 (0)