How I can get scrollbar within div element using selenium webdriver and firefox browser?
I need to validate case: scroll bar will appear when table (table located inside div) has more then 10 rows.
How I can get scrollbar within div element using selenium webdriver and firefox browser?
Share
I think if developed is publishing the scroll bar properties in HTML properties, then you will be able to capture, else you will have to discuss with developers.
After that you can get the row count using webdriver method
and using a if condition You can validate the scroll bar.
Thanks