$(shadowCss("#anyButton", "#shadow-host")).click();
$(shadowCss("p", "#shadow-host")).shouldHave(text("Inside Shadow-DOM"));
$(shadowCss("p", "#shadow-host", "#inner-shadow-host")).shouldHave(text("The Shadow-DOM inside another shadow tree"));
Hi Everyone,Our test application was recently upgraded to new UI with Shadow DOM elements. Am unable to find elements in Shadow DOM using normal locators like xpath, css, name, classname etc. When I searched in forums I came across JavaScriptexecutor.Queryselector function using which we can locate elements. It is identifying element but not entering the value in application. The value appears as entered in UI but when we click save the value gets erased. Could you please let me know if there is any methods to handle Shadow DOM in selenium.Thanks in advance
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/cd685dfd-3614-44af-b0cf-afc9ecfe5f89n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZTe35AIRugA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaGvtfKHtFDvfcvnzW_R7xr11AoL8uNxKbWPLiH2zGmb%2Bw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA7CoJi06QaHuncddDrTGL5UDqZe_zjS2CfLGq2txXhW_%2BEkDw%40mail.gmail.com.
$(shadowCss("component-id=chrome-add-new-button", "sn-workspace-tabs", "sn-workspace-tab-bar", "now-icon")).should(Condition.visible, Duration.ofSeconds(30));
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaHb-cqd0EAKL996O0jdNa%2BZutYKoOWamvcc2dcPYdA1xQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA7CoJgLsca1SH2f2DyqYA7vxt1jeeA0ghtw3YWPZNEvPd7Arg%40mail.gmail.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 view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA7CoJgLsca1SH2f2DyqYA7vxt1jeeA0ghtw3YWPZNEvPd7Arg%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZTe35AIRugA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaEaBjO2Y3a_XJyp4pNrSwCTcoh9fPeeXUDw0VovpAp7Hw%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZTe35AIRugA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CACWHBq_Kho_P7ek%2Bemc%3DThEN76fbeeXXgy9gqUatN5o2i3hgvw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/bc5c9ced-2355-4db2-8b5e-b20f1a7ad21cn%40googlegroups.com.
$(shadowCss("input[name=short_description]", "sn-workspace-content", "sn-interaction-custom-renderer",
"now-record-form-connected", "sn-form-internal-workspace-form-layout", "now-record-form-blob", "sn-form-internal-tabs", "sn-form-internal-tab-contents",
"now-record-form-section-column-layout", "sn-record-input-connected")).sendKeys("Test value");
$(shadowCss("input[name=short_description]", "sn-workspace-content", "sn-interaction-custom-renderer",
"now-record-form-connected", "sn-form-internal-workspace-form-layout", "now-record-form-blob", "sn-form-internal-tabs", "sn-form-internal-tab-contents",
"now-record-form-section-column-layout", "sn-record-input-connected")).setValue("Test value");
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaGMZUvn9enPr%3Di%3DoyBCaE2LdHDMW161WzjCeyDbZZRE2Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA7CoJhjfUSko-6wqF4q%3DR%2BMTziOQx9P29M-33HamZU3%3Dqz8BQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaELVA5K4Nav6wxVmp-2xQYzWX%3DU064tzBeVKjnA3W2%3DnA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA7CoJgE57oCNKK-sCZH8Sq5CvVBjHpihumC86_LEY89KFVYuw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaEza-VP%2BZb7xDqfZW-Eoo%3DXeE0QEY89WUL%3D3%3De7gbU%2BaQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA7CoJhrVkrmph0dXUKR6MEbZ-6VpCj2QnjiysqWv4VEV2gTFQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAE7WSaFtiAHHSZvzhLw%3DLnNmnHHuoRDHGZ3ZAuAU9kcFuK-Zag%40mail.gmail.com.