Scroll To Element – scrollIntoView in WebDriverIO – Part – 12



#webdriverio #nodejs #javascript #automation
In this video, I have explained how to scroll to a WebElement in WebDriverIO.

Learn:
-Scroll TO Element in WebDriverIO
-scrollIntoView method

~~~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:

Paid courses (Recorded) videos:
Java & Selenium Course:
API Course:

Nguồn: https://top100vn.com/

Xem thêm bài viết khác: https://top100vn.com/cong-nghe/

7 thoughts on “Scroll To Element – scrollIntoView in WebDriverIO – Part – 12

  1. Hi Naveen, I have written the code as same as yours but I am getting an error "move target out of bounds", I wonder why your code is running perfectly and not mine, can you please help me to solve this error?

  2. Does any know how to "get to definition" of any function like 'it.skip' etc which is working the video but not in my system. I tried looking for some suggestion over google with no success.

    @Naveen/ Team, any lead on this ? Regards, Arvind

  3. Hey Naveen,
    I have to automate a script where I need to scroll the PDF document all the way down so that I can proceed. The PDF is not in an iframe. Is this possible with webdriverio? it is the only blocker we are experiencing in my project.
    I would appreciate your help
    thank you

  4. Hi Naveen,
    To skip a "it" block instead of writing "it.skip" we can also use "xit"

    Eg:

    xit("move to element",function() {
    browser.url("https://www.spicejet.com");
    spiceJetPage.moveToElement(spiceJetPage.loginSignUpLink);
    spiceJetPage.moveToElement(spiceJetPage.spiceClubMembers);
    spiceJetPage.clickElement(spiceJetPage.memberLogin);
    });

  5. i am zero in java and selenium
    Hii Naveen your videos of r awesome

    Q : — Plz tell how to wait for manual input in selenium.

    Started selenium 2 days before 🙁

Leave a Reply

Your email address will not be published. Required fields are marked *