I want to test a scenario where a universal link (https://) would open in the native app.
I have created a driver with options having bundle id of the native app. Then did driver.get(“https://appDomain.com”). This worked fine when did in iOS simulator l. But it did not work on real device in AWS device farm. It was opening the link in the browser.
How to open the link in native app for real ios devices?
Try appium-xcuitest-driver/docs/reference/execute-methods.md at master · appium/appium-xcuitest-driver · GitHub
You may explicitly provide the bundle identifier of the target application to open the link with there
@mykola-mokhnach I have tried this method
var result = driver.executeScript(“mobile: deepLink”, Map.ofEntries(
Map.entry(“url”, “value1”),
Map.entry(“bundleId”, “value2”)
));
It is returning null and it is just opening the app and not opening the url in the native app
I have also checked the plist of the app. It has Associated Domains entitlement configured, for handling universal links.