I want to start my career in Web/Mobile QA automation but now I face some issues with my code for zooming in. I use Java and I want to zoom in on Google Maps or even on MIUI gallery too. The error says: Exception in thread "main" org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'action' of undefined
https://docs.google.com/presentation/d/1CJelFkDO7OfKzj8ewcQw-83aVlthMycoT7jdYf6B-kY/edit?usp=sharing
I have created a google slide where I posted my code because I didn't have enough space here to post it and you can modify it.
It is very confusing seeing courses on Udemy or YouTube tutorials and when I try it errors pop up. As far as I understand the error, it says that action is undefined or it gives null but why since I declared everything. I've tried putting it in try-catch but it goes in catch. I think the error is because of multitouch action but I'm lost... Any help is appreciated!
public class zoomIN { public static void main(String[] args) throws MalformedURLException, InterruptedException { DesiredCapabilities dc = new DesiredCapabilities(); dc.setCapability(MobileCapabilityType.AUTOMATION_NAME, "Appium"); dc.setCapability(MobileCapabilityType.DEVICE_NAME, "Redmi Note 9 ...