0

I am currently attempting tests with playwright. I have a website where the DOM elements are inside a frame.

I have attemped to create a scrollIntoView function that gets the selector and scrolls into the view, but it does not seem to work.

How can i scroll to an element inside the frame?

skyboyer
  • 19,620
  • 7
  • 50
  • 62
SWarr
  • 99
  • 2
  • 7
  • Related: https://stackoverflow.com/questions/1192228/scrolling-an-iframe-with-javascript might help. – weltschmerz Aug 03 '20 at 00:34
  • 1
    Did you try https://playwright.dev/#version=v1.2.1&path=docs%2Fapi.md&q=elementhandlescrollintoviewifneededoptions ? – hardkoded Aug 03 '20 at 14:46

0 Answers0