Handle tricky iframe Shadow Root WebElement using Selenium

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 40

  • @SelectorsHub
    @SelectorsHub 3 роки тому +8

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

  • @ABAutomationHub
    @ABAutomationHub 3 роки тому +3

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

  • @anitak2196
    @anitak2196 Рік тому +2

    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

  • @testinginsights-muktasharma
    @testinginsights-muktasharma 3 роки тому +3

    Kudos to you!

  • @Nandhis
    @Nandhis 3 роки тому +2

    Great video..Thanks Naveen 👍

  • @sureshkassa8949
    @sureshkassa8949 3 роки тому +2

    Brilliant naveen.

  • @yazh403
    @yazh403 Рік тому +1

    Thank you so much it's very helpful

  • @techguydj
    @techguydj 3 роки тому +1

    Thanks for such an amazing tutorial.

  • @krishnaprasathragavendran6008
    @krishnaprasathragavendran6008 3 роки тому +1

    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?

  • @devendrapawar2425
    @devendrapawar2425 5 місяців тому

    Very well explained Naveen! 1 doubt
    In case of reverse scenario, available under the shadow root, how to find elements in this case?

  • @rukhsarshd6539
    @rukhsarshd6539 2 роки тому

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

  • @rajeshedara2992
    @rajeshedara2992 2 роки тому

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

  • @yazh403
    @yazh403 Рік тому

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

  • @vivekjoshi2776
    @vivekjoshi2776 2 роки тому

    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.

  • @saurabhk2327
    @saurabhk2327 3 роки тому

    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

  • @RyanSequeira-ch6tj
    @RyanSequeira-ch6tj 2 роки тому

    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 -

  • @pavang2827
    @pavang2827 2 роки тому

    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

  • @rajendramule1448
    @rajendramule1448 2 роки тому

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

  • @sumitagnihotri6975
    @sumitagnihotri6975 3 роки тому

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

  • @abhijitnayak567
    @abhijitnayak567 Рік тому

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

  • @Fortnitelegend411
    @Fortnitelegend411 3 роки тому

    Thanks Naveen

  • @Johnsonsimpson
    @Johnsonsimpson Рік тому

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

  • @piyushkotiyal9964
    @piyushkotiyal9964 2 роки тому

    how can we use webdriver wait in shadow dom where we typecasted driver into javascriptexecutor

    • @imdadkhan5047
      @imdadkhan5047 2 роки тому

      U have to use thread.sleep it will do the job

  • @manishthakur6866
    @manishthakur6866 3 роки тому

    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

  • @avantikasingh980
    @avantikasingh980 2 роки тому

    What vto do if is under shadow root dom

  • @yazh403
    @yazh403 Рік тому

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

  • @GreatLockAj
    @GreatLockAj 2 роки тому

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

  • @Anic10
    @Anic10 3 роки тому +2

    Selectorshub ne chai pe bulaya hai..🤣

  • @geethsspace1991
    @geethsspace1991 2 роки тому

    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 ?

    • @manthanpasare530
      @manthanpasare530 2 роки тому

      Hi Mam have you got any solution for this

    • @anuragkmr780
      @anuragkmr780 2 роки тому +2

      driver.findElement(By.Id("snacktime")).getShadowRoot().FindElement(By.cssSelector("input[name=chai]")).sendKeys("test");
      Above should work without javascript.

    • @banusha
      @banusha Рік тому

      @@anuragkmr780 Thanks it worked!!

  • @pauljose9779
    @pauljose9779 3 роки тому

    Thanks Bro

  • @0705kavita
    @0705kavita 2 роки тому

    How to use shadow dom using page factory annotations

  • @thinkoutsidethebox-automat6682
    @thinkoutsidethebox-automat6682 3 роки тому

    How to automate reCaptcha??

  • @SRG903
    @SRG903 3 роки тому

    I have question?? how to decide duration of project

    • @naveenautomationlabs
      @naveenautomationlabs  3 роки тому

      Means?

    • @SRG903
      @SRG903 3 роки тому

      @@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?

  • @SRG903
    @SRG903 3 роки тому

    please answer