@@ -277,16 +277,16 @@ public BiDi getBiDi() {
277
277
var webSocketUrl = ((BaseOptions <?>) this .capabilities ).getWebSocketUrl ().orElseThrow (
278
278
() -> new BiDiException (
279
279
String .format (
280
- "BiDi is not enabled for this driver session. " +
281
- "Did you set %s to true?" , SupportsWebSocketUrlOption .WEB_SOCKET_URL
280
+ "BiDi is not enabled for this driver session. "
281
+ + "Did you set %s to true?" , SupportsWebSocketUrlOption .WEB_SOCKET_URL
282
282
)
283
283
)
284
284
);
285
285
if (this .biDiUri == null ) {
286
286
throw new BiDiException (
287
287
String .format (
288
- "BiDi is not enabled for this driver session. " +
289
- "Is the %s '%s' received from the create session response valid?" ,
288
+ "BiDi is not enabled for this driver session. "
289
+ + "Is the %s '%s' received from the create session response valid?" ,
290
290
SupportsWebSocketUrlOption .WEB_SOCKET_URL , webSocketUrl
291
291
)
292
292
);
@@ -399,8 +399,8 @@ private void initBiDi(BaseOptions<?> responseCaps) {
399
399
}
400
400
if (uriSyntaxError != null || this .biDiUri .getScheme () == null ) {
401
401
var message = String .format (
402
- "BiDi cannot be enabled for this driver session. " +
403
- "Is the %s '%s' received from the create session response valid?" ,
402
+ "BiDi cannot be enabled for this driver session. "
403
+ + "Is the %s '%s' received from the create session response valid?" ,
404
404
SupportsWebSocketUrlOption .WEB_SOCKET_URL , webSocketUrl .get ()
405
405
);
406
406
if (uriSyntaxError == null ) {
0 commit comments