I am using RobotFramework in Python to automate an application on macOS Chrome browser. I need to send multiple keypresses to scroll my grid to right but with no luck.
I tried using .sendKeys()
:
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
ActionChains(self._current_browser()).send_keys(Keys.ARROW_RIGHT).perform()
I have read that sendKeys()
doesn't work with macOS. What can be the alternative?