Comments (4)
[GeckoDriver@7133 (736c9dd5)] Got response with status 500: {"value":{"error":"unknown error","message":"adb error: couldn't create file: Permission denied","stacktrace":""}}
As you can see there the error os coming from geckodriver itself. You could assign the verbosity
capability to trace
in order to see more detailed geckodriver output and attach the resulting log here
from appium-geckodriver.
also I can observe this error in the linked issue report:
[debug] [GeckoDriver@03b7 (1d39ac55)] 1677837573945 mozdevice TRACE execute_host_command: >> "shell:su 0 chmod -R 777 /sdcard/Android/data/org.mozilla.fenix/files/test_root/org.mozilla.fenix-geckodriver-profile"
have you tried to run it manually from the terminal? what was the output?
from appium-geckodriver.
So, if I run adb shell "su 0 chmod -R 777 /sdcard/Android/data/org.mozilla.fenix/files/test_root/org.mozilla.fenix-geckodriver-profile"
from the terminal I receive a No such file or directory
response.
If I check the emulator file system, I can see that these files don't exist on the sdcard
. Also, given the fact that the emulator is rooted, shouldn't internal storage take precedence when a new file is created? I am a bit confused why the program chooses the external storage.
from appium-geckodriver.
I don't know. I assume there might be some bug in the geckodriver itself, so it verifies folder existence first or runs mkdir -p
before running chmod
You could probably also play with appium:androidStorage capability value
from appium-geckodriver.
Related Issues (11)
- PlatformName : Linux doesnt work for android HOT 7
- Issue in Appium Testcases execution in firefox browser HOT 1
- Unable to find a matching set of capabilities issue HOT 1
- Unable to launch firefox browser in Android device using appium. HOT 6
- Unable to connect to an existing browser instance using noReset=true HOT 2
- Not able to launch firefox on mobile browser HOT 5
- adb error: fchown failed: Operation not permitted HOT 2
- The automated release is failing 🚨
- Connection refused (os error 111) HOT 3
- Error when running the sample test in an Android emulator HOT 4
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-geckodriver.