Fix --async-trace server argument, and rename as --long-stacktrace
Sample code has been moved into the main repository to aid in maintenance.
Fix status retrieval to speed up performance.
iOS
Add support for Xcode 10 beta 5 and iOS 12 beta 5.
Add preliminary support for MacOS Mojave beta.
Add face id biometric support.
Fix retrieval of device time, and add optional format parameter.
Do not crash if there is no idevicesyslog when ending session.
Handle frames when page changes in Safari.
Add desired capabilities:
remoteDebugProxy - port or Unix domain socket on which a proxy for the
remote debugger sits.
safariGarbageCollect - turn on/off JS garbage collection in Safari.
showSafariNetworkLog - print Safari network logs in the Appium server logs.
mjpegServerPort - port to which screenshots can be streamed.
Fix handling of settings updates, so simulators are not restarted unnecessarily.
Allow pulling of folder from real devices.
Add mobile: getContexts execute function, to retrieve meta-information (title,
url, etc.) about available contexts.
Fix certificate retrieval and handling.
Fix cookie handling, to allow secure cookies.
Fix Safari timeout issues.
Add support to retrieve Safari network logs, as safariNetwork log type.
Android
Update Chromedriver to v2.41.
Get Chrome version for Webviews in Android 7+, to find correct Chromedriver.
Make sure UiAutomator processes are cleaned up during test.
Fix handling of autoWebview capability.
New desired capabilities:
mjpegScreenshotUrl - url to stream screenshots to.
chromedriverUseSystemExecutable - boolean flag to use the default Chromedriver
installed with Appium, avoiding any attempt to find correct Chromedriver.
disableWindowAnimation - disable window animations on device (now available
on UiAutomator and UiAutomator2).
pageLoadStrategy - page load strategy for Chromedriver.
Allow test-only APKs to be installed.
Fix implicit wait handling for finding elements.
Better handle Unicode IME installation.
Relax package validation logic.
Fix error in UiAutomator searches with nested quotes.
Perform accessibility refresh when needed on UiAutomator2.
Improve logic for determining if apps need upgrade.
Fix screen recording to allow longer recordings, up to 30 minutes.
After upgrading Appium to v1.9.0, I’m getting error on wait.until(…) an error:
[W3C] Encountered internal error running command: BadParametersError: Parameters were incorrect. We wanted "W3C protocol expects any of script, pageLoad or implicit to be set" and you sent {"type":"implicit","ms":300}
Does anyone know what causes this error? The problem seems to be in this line of code, but I do not know what is the correct way:
And each time this function is called and element isn’t present, I get and error:
[MJSONWP] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
[MJSONWP] at XCUITestDriver.callee$0$0$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:130:13)
[MJSONWP] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[MJSONWP] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
These logs weren’t displayed in the console before - is there any way to disable these?
I just updated to appium 1.9.0. And whenever i try to run a test i get the error message: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The desired capabilities must include either 'appPackage' or 'browserName' Build info: version: '3.5.2', revision: '10229a9', time: '2017-08-21T17:29:55.15Z' System info: host: 'KEL', ip: '192.168.249.2', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: AndroidDriver remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The desired capabilities must include either 'appPackage' or 'browserName'
Meanwhile, i have appPackage set in my DesiredCapabilities object.
regarding the log: I’ve created a Pr to change its level to debug, so you might skip it by setting the minimum logging level. It would not be a good idea to not log it at all, since there is an exception. You may use !driver.findElements(location).isEmpty() verification as well and this one won’t produce any traces (and is also faster, since it ignores the implicit wait).
Use beta if you can. It helps us to catch bugs on early stages. Otheriwse after some time this beta is becoming a release and creates problems like the one above