Handle tricky iframe Shadow Root WebElement using Selenium

preview_player
Показать описание
In this video, I have explained how to handle tricky iframe ShadowDOM WebElement using Selenium

Schedule a meeting in case of any queries/guidance/counselling:

~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Naveen AutomationLabs Paid Courses:
GIT Hub Course:

Java & Selenium:

Java & API +POSTMAN + RestAssured + HttpClient:
Рекомендации по теме
Комментарии
Автор

This is very helpful and thank you so much Naveen for creating this tutorial.

SelectorsHub
Автор

Brilliant !! You make difficult scenarios look so easy! Thanks for sharing!!

ABAutomationHub
Автор

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

anitak
Автор

Very well explained Naveen! 1 doubt

In case of reverse scenario, iframe available under the shadow root, how to find elements in this case?

devendrapawar
Автор

Thank you so much it's very helpful

yazh
Автор

Thank you so much sir, it's really helpful..

rukhsarshd
Автор

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?

krishnaprasathragavendran
Автор

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.

vivekjoshi
Автор

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

saurabhk
Автор

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 - <input _ngcontent-ltx-c90="" formcontrolname="companyName" maxlength="200" class="form-control mt-2 ng-pristine ng-invalid ng-touched">

RyanSequeira-chtj
Автор

Please do video on real time
Project It would be really helpful.

sumitagnihotri
Автор

Hello Naveen I am having same scenario in my project and i want to click the download button.

rajendramule
Автор

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..

rajeshedara
Автор

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

pavang
Автор

Bro i took js path in my application it's pointing to Symantec exception.then wt should I do

yazh
Автор

what to do if the iframe 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. 😄

abhijitnayak
Автор

Hi Naveen, how to identify/select Shadow Root web element using Selenium by Python?

Johnsonsimpson
Автор

If I'd not there, can we give classname as frame(classname)?

yazh
Автор

can you plz tell me how i access shadow element using python in selenium

GreatLockAj
Автор

What vto do if iframe is under shadow root dom

avantikasingh