--
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 selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b39aa8e7-d77f-4377-9305-e485f20848d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Joe,
Irrespective of whether one uses Java (or) JavaScript, I believe its going to be the server component that would be responsible for doing the actual interactions with the web browser right ?
So for IE it would be InternetExplorerDriver (or) EdgeDriver, for Chrome it would be ChromeDriver and for Firefox it would be geckodriver.
AFAIK, the client bindings (Java or Javascript Selenium APIs) are just a way to form the W3C spec compliant payload, set the required headers and trigger the appropriate HTTP Call [ GET/POST/PUT/DELETE] against the predefined http end-points.
So just curious to know, how would the difference in client bindings play a role here?
Note: I am conveniently neglecting any javascript injections being done by the test code via driver.executeScript()
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.com/
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJPyTs3FrHUVC3MDtpuTxA-OFM9VA%3D1rKEfyWd_-zGQ_MCSSiA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/C1F45279-504F-4439-ADBC-291AE6441037%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJPyTs3FrHUVC3MDtpuTxA-OFM9VA%3D1rKEfyWd_-zGQ_MCSSiA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAH1K1KbUE2u_QDRS6M0wZWxsi6ogiztPv0FTH14q_A9JOnMyAw%40mail.gmail.com.
Please provide code samples for both implementations so we can see what you're referring to.
On Wed, 8 May 2019 at 17:17, Latha Reddy <latha....@gmail.com> wrote:
Agree that implementation is different. In my entire suite having 58 test cases, i am facing issue only with two elements using node js framework.why i am confident that it is not issue with element state is, it is working well using java solution.
On Wed, 8 May 2019, 7:39 pm Joe Ward, <ddl...@gmail.com> wrote:
Because Java != JavaScript? The implementation is different. As presumably your code will be.
On Wed, 8 May 2019 at 15:05, Latha Reddy <latha....@gmail.com> wrote:
As part of my project , I am working on two different different frameworks , one is built on Selenium - Java , another is on Selenium - Node js. I could see selenium functions behaving differently in both frameworks for few elements , in the same script and on same website application. The different behaviour's observed are:--1. The same script , is giving StaleElementReferenceException while trying to findElement in Selenium - node JS even after increasing wait from 2 secs to 30 secs, where as I am able to find the same element in Selenium - java solution with just implicit wait itself of 20secs.Fix : The fix i did for above issue is to refresh the page and then find element - then its working well in selenium - node js too2. This is happening only for particular element : selenium - node js solution, the element is able to be found out, able to get its text , but not clickable.Where as the same script working well in selenium - java solution , the element found out, able to read its text, and clickable too.I basically need info on why selenium javascript libraries behaving differently in some cases , where as selenium -java libraries working well in those cases as well.Your help is much appreciated.
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 seleniu...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b39aa8e7-d77f-4377-9305-e485f20848d3%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 seleniu...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJPyTs3FrHUVC3MDtpuTxA-OFM9VA%3D1rKEfyWd_-zGQ_MCSSiA%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 seleniu...@googlegroups.com.
Latha,
What happens when you get rid of the implicitWaits in your Java code and instead resort to explicit waits (via WebDriverWait) like how you have done in your nodeJS code?
I think you are comparing apples and oranges here.
Implicit Waits and explicit Waits aren’t the same.
Your NodeJS code is using Explicit Waits whereas your Java code is using Implicit Waits. You might want to try make them both use Explicit Waits and then see what happens.
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.com/
From: <seleniu...@googlegroups.com> on behalf of Latha Reddy <latha....@gmail.com>
Reply-To: <seleniu...@googlegroups.com>
Date: Friday, May 10, 2019 at 12:32 AM
To: Selenium Users <seleniu...@googlegroups.com>
Subject: Re: [selenium-users] StaleElementReferenceException while trying to find element in selenium using node js
Ok,
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7813fe0b-b248-4158-91f1-8154515143ca%40googlegroups.com.
--
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 selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6d75b4fb-16cf-4708-b1c3-f115662e5614%40googlegroups.com.