Closed hananmalka closed 1 year ago
driver = new AppiumDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities); you can make a driver generic that will work.
driver = new AndroidDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities); for Android driver = new IOSDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities); for ios
I hope your doubt is clarified. Move issue to close state
Hi, I see you are using instance of AndroidDriver:
driver = new AndroidDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);
Should it work on a flutter app? In case of the platformName is iOS?