Comments (4)
You are right, works with:
await driver.getAlertText();
await driver.acceptAlert();
I got so focused on using the "com.apple.springboard" method for this permission dialog that I overlooked the simpler approach.
Thank you for your support!
from appium.
Could you share the appium log with the inspector? I'll check paste case as well a bit later.
https://appium.github.io/appium-xcuitest-driver/latest/guides/troubleshooting/#interact-with-dialogs-managed-by-comapplespringboard is maybe everything but the paste could have another case.
from appium.
Sure, there you go.
appium.log
from appium.
The case might be matched with:
Start a session without appium:app nor appium:bundleId.
in https://appium.github.io/appium-xcuitest-driver/latest/guides/troubleshooting/#interact-with-dialogs-managed-by-comapplespringboard . Then, how about the script's appium log?
I wondered if mobile:alert
with buttonLabel: Allow Paste
could be the alternative method for the script run.
from appium.
Related Issues (20)
- Unable to click on iOS alert with AppiumLibrary HOT 4
- Running: setGeoLocation, report unexpected data: {"Error":"InvalidService","Request":"StartService","Service":"com.apple.dt.simulatelocation"} (xcode: 15.3, iOS:17.4) HOT 8
- bug: Accessing WebView cookies makes test session hang HOT 1
- bug: <title>appium server session error HOT 2
- The selector "*" used with strategy "css selector" is invalid! HOT 2
- What are these symbols on Appium.io? HOT 1
- Not able to take screenshot on Tizen TV HOT 1
- bug: "Error: Appium Settings app is not running after 30000ms" HOT 5
- Unable to acknowledge iOS ATT popup HOT 2
- bug: < Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work> HOT 5
- [Feat]: Enroll biometrics on a single simulator HOT 2
- Support for bun in appium-adb HOT 1
- [Feat]: Is it possible to display the version number within the WebDriverAgent (WDA) service API. HOT 7
- WebDriverAgent use-prebuilt-wda is broken HOT 12
- bug: getWindowHandles return 1 when open a new window on Safari (iOS 17.4) HOT 2
- _XCT_requestScreenshot in iOS 13.1.2 real device,doesn't work HOT 2
- bug: WDA getStatus keeps waiting when giving wdaLocalPort HOT 7
- [iOS] bug: executing script 'mobile: swipe' with no element specified fails proxying to unknown route /wda/swipe HOT 2
- [Feat]: if devicectl command can modify defaults HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.