Execute Mobile Command
Java:driver.executeScript("mobile: scroll", ImmutableMap.of("direction", "down"));
Python:self.driver.execute_script("mobile: scroll", {'direction': 'down'})
Description
Execute a variety of native, mobile commands that aren't associated with a specific endpoint Syntax isexecute("mobile: <commandName>", <JSON serializable argument>)
(see Execute Script for more details on syntax).