How to scroll within a table using watir-scroll
问题 I have an application in which there is a dynamic table, rows are loaded only when you scroll up or down. Watir-scroll is scrolling the entire page. Is there anyway I can perform the scrolling within that table? 回答1: Making an element scrollable is often done by setting the overflow style. It is likely on a div that contains the table . For example: <html> <body> <div style="overflow:scroll; height:250px;"> <table> <tr height="200px"><td>Cell A</td></tr> <tr height="200px"><td>Cell B</td></tr