Comments (5)
@mitsukuri want to make a PR to fix?
from appium-adb.
Is this an issue for ESM modules? I can observe that index.js does contain export default ADB;
. @boneskull is an expert in such things
from appium-adb.
@mitsukuri want to make a PR to fix?
No problem, just wanted to make sure this is a bug, not feature :)
from appium-adb.
@mitsukuri can you say more about why import ADB
didn't work for you?
from appium-adb.
import ADB from 'appium-adb';
const adb = await ADB.createADB ();
results in
TypeError: ADB.createADB is not a function
at file:///mnt/ntfs/d/code/projects/test/hands/src/adb.mjs:13:23
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at ESMLoader.import (node:internal/modules/esm/loader:530:24)
at loadESM (node:internal/process/esm_loader:91:5)
at handleMainPromise (node:internal/modules/run_main:65:12)
while import { ADB } from 'appium-adb'
does not
from appium-adb.
Related Issues (20)
- Issues with ADB after installing appium-adb lib HOT 1
- Add methods to get and set the battery details HOT 3
- Bug in v1.7.5 - appWaitActivity HOT 5
- APK install timeout is hardcoded HOT 4
- Can no longer connect to Android Emulator with Android SDK Tools 25.1.1 HOT 23
- Parsing of "intentOptionalArgs" with a value contening ' - ' HOT 1
- APK uninstall timeout hardcoded
- Optional Intent Arguments being stripped away HOT 1
- The apk is not being installed with "-gr" key HOT 6
- Still not working on Nougat HOT 2
- Testing system apps HOT 1
- targetSdkVersionFromManifest fails if apk does not include targetSdkVersion HOT 3
- Action required: Greenkeeper could not be activated 🚨
- remove unnecessary changing language/country related code
- Getting Process Ids does'nt work for some devices HOT 2
- Action required: Greenkeeper could not be activated 🚨
- Looking forward to index.d.ts declaration file with typescript
- Can it add display option to startApp ? HOT 3
- move fs into appium-support
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-adb.