CoffeeTime textbox is coming under Shadow-root(Closed). For that textbox, the 'Copy JS Path' option is disabled. How can i get the JS path for that? Can anyone help on this?
one interviewer was aked me write the xpath for microphone in google page....i wrote and check the xpath with single attribute and multiple also...but object didn't identify....that is also shadow root ...can u tell me what is shadow root.how to write xpath for that types..
Copy js path is best trick i have seen !!! Does it require any plugin or its OOTB available I am locating shadow root in protractor selenium since long time , and in ny app there are nested shadow root ... And everything load dynamically
How can we automate if the angular element don't have locators as you showed in the video For EG: I am not able to automate using NGWebDriver for locator like -
what to do if the itself is inside another shadow-root? I mean if shadow dom is present at multiple levels. currenty having trobble with this scenario. any help would be much appricited. 😄
hello all, can someone help me with cross domain testing example with single userid user can login in multiple sites can some please help here to give me scenarios
Hi Naveen, Thanks for the vedio. Our Application also we are dealing with shadow DOM. I have followed the same procedure which you have said in this vedio.In my case is not there so i have skipped the line driver.switch frame. But stil i am getting error as javascript error: Cannot read properties of null (reading 'shadowRoot'). Will you able to help me ?
driver.findElement(By.Id("snacktime")).getShadowRoot().FindElement(By.cssSelector("input[name=chai]")).sendKeys("test"); Above should work without javascript.
@@naveenautomationlabs iwe received one requirement of bank project and it is large requirement, so how dev team and testing team deside during of that project ? Which factor they considered for duration of project?
This is very helpful and thank you so much Naveen for creating this tutorial.
Brilliant !! You make difficult scenarios look so easy! Thanks for sharing!!
Hi Naveen, how can we click the shadow element in chrome downloads. I tried the same way you explained but its not working. please suggest any options
Kudos to you!
Great video..Thanks Naveen 👍
Brilliant naveen.
Thank you so much it's very helpful
Thanks for such an amazing tutorial.
CoffeeTime textbox is coming under Shadow-root(Closed). For that textbox, the 'Copy JS Path' option is disabled. How can i get the JS path for that? Can anyone help on this?
Very well explained Naveen! 1 doubt
In case of reverse scenario, available under the shadow root, how to find elements in this case?
Thank you so much sir, it's really helpful..
one interviewer was aked me write the xpath for microphone in google page....i wrote and check the xpath with single attribute and multiple also...but object didn't identify....that is also shadow root ...can u tell me what is shadow root.how to write xpath for that types..
Bro i took js path in my application it's pointing to Symantec exception.then wt should I do
Can we handle PDF viewer with the help of JSExecutor, how can we download that PDF while clicking on the download button through selenium automation.
Copy js path is best trick i have seen !!! Does it require any plugin or its OOTB available
I am locating shadow root in protractor selenium since long time , and in ny app there are nested shadow root ... And everything load dynamically
How can we automate if the angular element don't have locators as you showed in the video For EG: I am not able to automate using NGWebDriver for locator like -
Hi Naveen how we can write the test script using selenium java for comparing links(a tags) with the expected link in the UI Page
Hello Naveen I am having same scenario in my project and i want to click the download button.
Please do video on real time
Project It would be really helpful.
what to do if the itself is inside another shadow-root? I mean if shadow dom is present at multiple levels.
currenty having trobble with this scenario. any help would be much appricited. 😄
Thanks Naveen
Hi Naveen, how to identify/select Shadow Root web element using Selenium by Python?
how can we use webdriver wait in shadow dom where we typecasted driver into javascriptexecutor
U have to use thread.sleep it will do the job
hello all, can someone help me with cross domain testing example with single userid user can login in multiple sites can some please help here to give me scenarios
What vto do if is under shadow root dom
If I'd not there , can we give classname as frame(classname)?
can you plz tell me how i access shadow element using python in selenium
Selectorshub ne chai pe bulaya hai..🤣
Hi Naveen, Thanks for the vedio. Our Application also we are dealing with shadow DOM. I have followed the same procedure which you have said in this vedio.In my case is not there so i have skipped the line driver.switch frame. But stil i am getting error as javascript error: Cannot read properties of null (reading 'shadowRoot'). Will you able to help me ?
Hi Mam have you got any solution for this
driver.findElement(By.Id("snacktime")).getShadowRoot().FindElement(By.cssSelector("input[name=chai]")).sendKeys("test");
Above should work without javascript.
@@anuragkmr780 Thanks it worked!!
Thanks Bro
How to use shadow dom using page factory annotations
How to automate reCaptcha??
I have question?? how to decide duration of project
Means?
@@naveenautomationlabs iwe received one requirement of bank project and it is large requirement, so how dev team and testing team deside during of that project ? Which factor they considered for duration of project?
please answer