feat: Add Gecko driver
MODIFY
lib/appium.js
lib/appium.js
@@ -35,6 +35,7 @@ const AUTOMATION_NAMES = {
MAC: 'Mac',
FLUTTER: 'Flutter',
SAFARI: 'Safari',
+ GECKO: 'Gecko',
};
const DRIVER_MAP = {
[AUTOMATION_NAMES.UIAUTOMATOR2.toLowerCase()]: {
@@ -85,6 +86,10 @@ const DRIVER_MAP = {
driverClassName: 'SafariDriver',
driverPackage: 'appium-safari-driver'
},
+ [AUTOMATION_NAMES.GECKO.toLowerCase()]: {
+ driverClassName: 'GeckoDriver',
+ driverPackage: 'appium-geckodriver'
+ },
};
const PLATFORMS_MAP = {

MODIFY
package.json
package.json
"appium-espresso-driver": "^1.0.0",
"appium-fake-driver": "^1.x",
"appium-flutter-driver": "^0",
+ "appium-geckodriver": "^0.2.0",
"appium-ios-driver": "4.x",
"appium-mac-driver": "1.x",
"appium-safari-driver": "^2.1.0",

feat: Add Gecko driver (#14871)