Selenium support for Java 11

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Selenium support for Java 11

Divanshu Maheshwari
Currently latest Selenium WebDriver supports java 8 but what are the plans to enable Selenuim WebDriver to support Java 11 ?
There is a POC currently going on in our organization to look at the impact it could make. I need to find the answers to it. 
If there is anyone who knows about this , please share your thoughts.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8e3c36f1-401f-4651-affb-6fe775cf81be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium support for Java 11

Krishnan Mahadevan
Are you facing any issues when you use Selenium with JDK11 ? If yes, what are they ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:09 PM Divanshu Maheshwari <[hidden email]> wrote:
Currently latest Selenium WebDriver supports java 8 but what are the plans to enable Selenuim WebDriver to support Java 11 ?
There is a POC currently going on in our organization to look at the impact it could make. I need to find the answers to it. 
If there is anyone who knows about this , please share your thoughts.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8e3c36f1-401f-4651-affb-6fe775cf81be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmS8LeH0fQtaqCoK2%2BRwxZUDibd9BR1qk7mJM-PC%3D7%2BQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium support for Java 11

Divanshu Maheshwari
JDK 11 is not yet formally released.
I would like to know Selenium's plan to bring webdriver to java 11 compatibility

On Tue, Jun 12, 2018, 12:11 ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Are you facing any issues when you use Selenium with JDK11 ? If yes, what are they ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:09 PM Divanshu Maheshwari <[hidden email]> wrote:
Currently latest Selenium WebDriver supports java 8 but what are the plans to enable Selenuim WebDriver to support Java 11 ?
There is a POC currently going on in our organization to look at the impact it could make. I need to find the answers to it. 
If there is anyone who knows about this , please share your thoughts.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8e3c36f1-401f-4651-affb-6fe775cf81be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmS8LeH0fQtaqCoK2%2BRwxZUDibd9BR1qk7mJM-PC%3D7%2BQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJFrya_RXzV6nh%2Bv0qZD59srk_4NFFF6%3D-D17DwQbwaYzpFPBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium support for Java 11

Krishnan Mahadevan
I am not part of the Selenium Dev group. So I cannot give a definite answer.

But here's my take on that. I guess Selenium would perhaps wait for JDK11 to be formally released before they can go about adopting and making it JDK11 compatible. I am guessing that Selenium should still be able to run in JDK11, because Java is supposed to be backward compatible.

You can perhaps post your question on the selenium-dev forum or reach out to one of the folks from the core dev group via the IRC chat

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:18 PM Divanshu Maheshwari <[hidden email]> wrote:
JDK 11 is not yet formally released.
I would like to know Selenium's plan to bring webdriver to java 11 compatibility

On Tue, Jun 12, 2018, 12:11 ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Are you facing any issues when you use Selenium with JDK11 ? If yes, what are they ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:09 PM Divanshu Maheshwari <[hidden email]> wrote:
Currently latest Selenium WebDriver supports java 8 but what are the plans to enable Selenuim WebDriver to support Java 11 ?
There is a POC currently going on in our organization to look at the impact it could make. I need to find the answers to it. 
If there is anyone who knows about this , please share your thoughts.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8e3c36f1-401f-4651-affb-6fe775cf81be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmS8LeH0fQtaqCoK2%2BRwxZUDibd9BR1qk7mJM-PC%3D7%2BQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJFrya_RXzV6nh%2Bv0qZD59srk_4NFFF6%3D-D17DwQbwaYzpFPBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmKU1eZGXphDD0Lu7Q8sSyx0mjYUY6Dbb-PpUB4k%3D7jSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium support for Java 11

Divanshu Maheshwari
Hi, Thanks for you reply.

I too agree with that, that Selenium would wait for Java 11 to be released publically to change its stand on the WebDriver's compatibility. But here is a catch, Selenium uses some of the Java Classes and APIs which will now be deprecated in the Java 11 release. So, in order for the Selenium to compile their code again without any errors they will have to update the Webdriver to make it compatible with Java 11 (here it means referencing correct and new Java Class and API from Java 11).

We tried analysing our testing framework and found various classes which were being used in our framework and will no more be supported by Java 11 and hence concluded that similar would be the case with WebDriver as well.
So untill WebDriver is getting updated with Java 11, there is no point in resolving the errors we are finding in our framework.

Thanks and Regards,
Divanshu Maheshwari
9028392597/7028589809


On Tue, Jun 12, 2018 at 12:23 PM ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
I am not part of the Selenium Dev group. So I cannot give a definite answer.

But here's my take on that. I guess Selenium would perhaps wait for JDK11 to be formally released before they can go about adopting and making it JDK11 compatible. I am guessing that Selenium should still be able to run in JDK11, because Java is supposed to be backward compatible.

You can perhaps post your question on the selenium-dev forum or reach out to one of the folks from the core dev group via the IRC chat

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:18 PM Divanshu Maheshwari <[hidden email]> wrote:
JDK 11 is not yet formally released.
I would like to know Selenium's plan to bring webdriver to java 11 compatibility

On Tue, Jun 12, 2018, 12:11 ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Are you facing any issues when you use Selenium with JDK11 ? If yes, what are they ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:09 PM Divanshu Maheshwari <[hidden email]> wrote:
Currently latest Selenium WebDriver supports java 8 but what are the plans to enable Selenuim WebDriver to support Java 11 ?
There is a POC currently going on in our organization to look at the impact it could make. I need to find the answers to it. 
If there is anyone who knows about this , please share your thoughts.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8e3c36f1-401f-4651-affb-6fe775cf81be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmS8LeH0fQtaqCoK2%2BRwxZUDibd9BR1qk7mJM-PC%3D7%2BQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJFrya_RXzV6nh%2Bv0qZD59srk_4NFFF6%3D-D17DwQbwaYzpFPBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmKU1eZGXphDD0Lu7Q8sSyx0mjYUY6Dbb-PpUB4k%3D7jSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJFrya-WN4SMKW0RO539pTP80QD2v%3D9YWvdCsO4yLsDqXqWk1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium support for Java 11

Krishnan Mahadevan
>>> But here is a catch, Selenium uses some of the Java Classes and APIs which will now be deprecated in the Java 11 release. 

Are you referring to the deprecated list furnished here: https://download.java.net/java/early_access/jdk11/docs/api/deprecated-list.html ?
If yes, it would be good if you could maybe call out the list of impacted WebDriver classes which are most likely to need attention and then help furnish the list as a bug on the Github issues here : https://github.com/seleniumhq/selenium/issues 

>>> So, in order for the Selenium to compile their code again without any errors they will have to update the Webdriver to make it compatible with 

Java 11 (here it means referencing correct and new Java Class and API from Java 11).
I doubt this use-case immediately, because I guess selenium would logically speaking move over to the next JDK that is the bare minimum ask, and make itself compliant to that. So it would take sometime before we reach Java 11.  

>>> So untill WebDriver is getting updated with Java 11, there is no point in resolving the errors we are finding in our framework.

Why not contribute towards that via a Pull Request? Selenium is an open-source project and the contributors welcome PRs from anyone.

But in any-case, you should ideally speaking post it as a question on the selenium-developers google forum or on the IRC chat to get an official stance.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 1:06 PM Divanshu Maheshwari <[hidden email]> wrote:
Hi, Thanks for you reply.

I too agree with that, that Selenium would wait for Java 11 to be released publically to change its stand on the WebDriver's compatibility. But here is a catch, Selenium uses some of the Java Classes and APIs which will now be deprecated in the Java 11 release. So, in order for the Selenium to compile their code again without any errors they will have to update the Webdriver to make it compatible with Java 11 (here it means referencing correct and new Java Class and API from Java 11).

We tried analysing our testing framework and found various classes which were being used in our framework and will no more be supported by Java 11 and hence concluded that similar would be the case with WebDriver as well.
So untill WebDriver is getting updated with Java 11, there is no point in resolving the errors we are finding in our framework.

Thanks and Regards,
Divanshu Maheshwari
9028392597/7028589809


On Tue, Jun 12, 2018 at 12:23 PM ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
I am not part of the Selenium Dev group. So I cannot give a definite answer.

But here's my take on that. I guess Selenium would perhaps wait for JDK11 to be formally released before they can go about adopting and making it JDK11 compatible. I am guessing that Selenium should still be able to run in JDK11, because Java is supposed to be backward compatible.

You can perhaps post your question on the selenium-dev forum or reach out to one of the folks from the core dev group via the IRC chat

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:18 PM Divanshu Maheshwari <[hidden email]> wrote:
JDK 11 is not yet formally released.
I would like to know Selenium's plan to bring webdriver to java 11 compatibility

On Tue, Jun 12, 2018, 12:11 ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Are you facing any issues when you use Selenium with JDK11 ? If yes, what are they ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


On Tue, Jun 12, 2018 at 12:09 PM Divanshu Maheshwari <[hidden email]> wrote:
Currently latest Selenium WebDriver supports java 8 but what are the plans to enable Selenuim WebDriver to support Java 11 ?
There is a POC currently going on in our organization to look at the impact it could make. I need to find the answers to it. 
If there is anyone who knows about this , please share your thoughts.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8e3c36f1-401f-4651-affb-6fe775cf81be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmS8LeH0fQtaqCoK2%2BRwxZUDibd9BR1qk7mJM-PC%3D7%2BQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJFrya_RXzV6nh%2Bv0qZD59srk_4NFFF6%3D-D17DwQbwaYzpFPBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmKU1eZGXphDD0Lu7Q8sSyx0mjYUY6Dbb-PpUB4k%3D7jSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJFrya-WN4SMKW0RO539pTP80QD2v%3D9YWvdCsO4yLsDqXqWk1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLnEn8jHBDfLPaW613h5hzyUvqFuW3KX2sC%3Dp%3D3CQWQQ7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.