appium-xcuitest-driver : 2.78.0
driver.PushFile for ios does not work, It gives org.openqa.selenium.WebDriverException: Method has not yet been implemented
Is your driver an instance of AppiumDriver or IOSDriver?
Maybe you are using WebDriver driver instance instead of AppiumDriver
My driver is an instance of IOSDriver, basically I have it as
((IOSDriver) driver).pushFile(remotePath, file);
The driver I am using is AppiumDriver
Definitely not a webdriver.
Have you tried to use pushFile for iOS ?
It works for iOS simulator only.
Check Jonhathan edition about it:
Really appreciated your help
but while tying to add my project it not working, showing error at .
puhsFile method, I have tied by casting
AppiumDriver also, please have a look the screenshot
I’m not working with Appium currently. But from what I remembered pushFile belongs to AndroidDriver. You sure your driver var is an instance of AndroidDriver?
Also you can follow Jonathan code in github (https://github.com/cloudgrey-io/appiumpro/blob/master/java/src/test/java/Edition002_Android_Photos.java)