4

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.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
user3581800
  • 317
  • 2
  • 5
  • 16
  • What is the exception? May be the site added an iframe or something changed? – Tarun Lalwani Sep 22 '20 at 12:14
  • can you paste the code snippet? – Alin Stelian Sep 22 '20 at 12:35
  • Your question is poor in infos. If you used findElement() in a loop i suggest to you to use use findElements() instead. If this ain't the case you must edit your question uploading a snippet of your code and better o fall the link of the webpage like @AlinStelian suggested too. –  Sep 22 '20 at 13:32
  • I'm facing the same issue. There is no further error message and the job just times out. What could be the solution? – Ajay Meda Dec 15 '22 at 23:47

1 Answers1

3

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.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352