--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/CAOrAhYEH09r5QU5axY20Bhd%2BHSDpqzjLJrR%2BQbc96E-tUQfXuA%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%40googlegroups.com.
Page for Shadow DOM chromedriver testsThe page has a shadow root that in turn contains two shadow roots. So we can check behaviour with both nested roots and younger/older sibling roots. The various sections are highlighted with colored borders to make it more obvious where each element comes from.Base-level StuffWhereas the shadow-dom aware version givesPage for Shadow DOM chromedriver tests The page has a shadow root that in turn contains two shadow roots. So we can check behaviour with both nested roots and younger/older sibling roots. The various sections are highlighted with colored borders to make it more obvious where each element comes from.Younger Child Younger Child Contents Stuff for for the younger child. Younger Child Shadow Older Child As the older child of a nested shadow root, this is the most likely to go wrong bit of the page.Older Child Contents Parent Parent Contents Base-level Stuff
Is that shadow dom aware atom something we should roll into the main tree? I suspect that the shadow dom is something we should care about.Can I ask why you'd need a flag? Why not always use the one that understands the shadow dom?Simon "types shadow dom a lot, it seems" Stewart
Sent from my iPhone
On 13 Jan 2017, at 12:51, 'Mark Charsley' via Selenium Developers <selenium-...@googlegroups.com> wrote:
There is an issue with Shadow DOM IIRC. The text grabbed is form the logical DOM, not the displayed DOM, so what's displayed in your browser and what's returned by getText can be wildly different.--Chromedriver has a second atom that gets the text from the displayed DOM whose results match what the user sees a lot better. I intended to add some sort of extension/capacity thing to allow clients to choose which atom they wanted, but never got around to it. There are a few tests I'm aware of that run the atom via JavascriptExecutor however.I'll leave it to wiser heads than mine to decide whether Shadow DOM is important enough to care about...Mark
On Thursday, January 12, 2017 at 12:46:33 PM UTC, Simon Stewart wrote:Hi folks,The W3C webdriver spec has decided to use the implementation of "getText" from selenium webdriver as the basis of the "get text" command. In order to do this, we need to take a snapshot of the existing atom and add it as an appendix to the spec.Since adding to the spec will effectively freeze it, now's our last chance to either state that we're okay with the current implementation, or find and fix any outstanding issues with it that we can both find and fix. We should also clearly state the edge cases where we know this algorithm won't work.So, from the selenium developers: are we okay with this atom freezing?Simon
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/7a9433db-c713-42fa-ae86-4fcfc8761e47%40googlegroups.com.
I suspect that senior member of the team was me :)
At the time, Shadow DOM wasn't guaranteed to become a spec. It now looks like it's being absorbed into a variety of different places, and is a Real Thing. *sigh* I suspect it'd be better to use the more extensive getTextInComposedDom as the basis for the webdriver spec. And to flip the implementation in selenium.
Simon
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Saturday, January 14, 2017 at 10:06:07 AM UTC, Simon Stewart wrote:I suspect that senior member of the team was me :)Well I didn't want to point any fingers, but yes it was :-)
At the time, Shadow DOM wasn't guaranteed to become a spec. It now looks like it's being absorbed into a variety of different places, and is a Real Thing. *sigh* I suspect it'd be better to use the more extensive getTextInComposedDom as the basis for the webdriver spec. And to flip the implementation in selenium.My ShadowDOM stuff was only tested on chrome, but - other than obviously requiring ShadowDOM support in the first place - I don't recall using any particularly chrome-only features. So hopefully it should be fairly trivial to port to other platforms.
MarkSimon
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/7a9433db-c713-42fa-ae86-4fcfc8761e47%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/dd787f2e-f3a4-469b-98f4-2a0201be302c%40googlegroups.com.
MarkSimon
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/7a9433db-c713-42fa-ae86-4fcfc8761e47%40googlegroups.com.
MarkSimon
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/7a9433db-c713-42fa-ae86-4fcfc8761e47%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/dd787f2e-f3a4-469b-98f4-2a0201be302c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/44ab2b4e-85c6-4508-9489-ee99b2e2a212%40googlegroups.com.
MarkSimon
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/f5c89db8-17ab-4c34-ba06-d7d819df0f5d%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/7a9433db-c713-42fa-ae86-4fcfc8761e47%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/dd787f2e-f3a4-469b-98f4-2a0201be302c%40googlegroups.com.