def scroll(
self,
delta_x: int = 0,
delta_y: int = 0
) -> None
Scroll the current browser tab with the scroll bar.
Parameters:
delta_x: int
pixels to scroll horizontally.
delta_y: int
pixels to scroll vertically.
Returns:
None
Example:
from clicknium import clicknium as cc
# open chrome browser
chrome_tab = cc.chrome.open("https://www.clicknium.com")
# scroll tab
chrome_tab.scroll(0, 500)