INFO: Detected dialect: W3C using Selenium Java

21.3k Views Asked by At

I have a web automation project that runs over a website, performs registration of new user and chooses several items. all elements are detected by findElement(By ). Suddenly it stopped working completely and not able to find any of the elements. My chrome is opened by no further actions are taken the following error appears:

ChromeDriver was started successfully.
22, 2020 2:57:48  org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

Is there a dependency i am missing? the flow worked perfectly fine.

1

There are 1 best solutions below

0
On

Dialect

A dialect of a programming language or a data exchange language is a (relatively small) variation or extension of the language that does not change its intrinsic nature.


Enum Dialect

public enum Dialect in org.openqa.selenium.remote extends java.lang.Enum<Dialect>. This enum supports two constants:

  • OSS

    public static final Dialect OSS
    
  • W3C

    public static final Dialect W3C
    

ChromeDriver and earlier used the OSS dialect. But now ChromeDriver as a standalone server that implements the W3C WebDriver standard.

Hence now when you initiate a Google Chrome Browsing Context i.e. Chrome Browser session using ChromeDriver you observe the INFO:

INFO: Detected dialect: W3C

Conclusion

This log message isn't an error and is an information.