diff --git a/android.conf.ts b/android.conf.ts index d95994d..ee94650 100644 --- a/android.conf.ts +++ b/android.conf.ts @@ -1,6 +1,5 @@ // @ts-nocheck import { config as baseConfig } from './wdio.conf.ts'; -import { join } from 'node:path'; export const config: WebdriverIO.Config = { ...baseConfig, diff --git a/flutter-finder/wdio-flutter-by-service/src/utils.ts b/flutter-finder/wdio-flutter-by-service/src/utils.ts index b0eb163..978d4ec 100644 --- a/flutter-finder/wdio-flutter-by-service/src/utils.ts +++ b/flutter-finder/wdio-flutter-by-service/src/utils.ts @@ -1,9 +1,7 @@ import { LocatorConfig } from './types.js'; import { command } from 'webdriver'; import { browser } from '@wdio/globals'; -import path from 'path'; import { createRequire } from 'module'; -import { pathToFileURL } from 'url'; import fs from 'fs'; const require = createRequire(import.meta.url); diff --git a/src/android.ts b/src/android.ts index 398e044..8019d5d 100644 --- a/src/android.ts +++ b/src/android.ts @@ -1,5 +1,4 @@ import { AndroidUiautomator2Driver } from 'appium-uiautomator2-driver'; -import type { InitialOpts } from '@appium/types'; import type { AppiumFlutterDriver } from './driver'; import type ADB from 'appium-adb'; diff --git a/src/commands/element.ts b/src/commands/element.ts index cf5560e..766003b 100644 --- a/src/commands/element.ts +++ b/src/commands/element.ts @@ -1,6 +1,5 @@ import _ from 'lodash'; import { getProxyDriver, FLUTTER_LOCATORS } from '../utils'; -import { JWProxy } from 'appium/driver'; import { AndroidUiautomator2Driver } from 'appium-uiautomator2-driver'; // @ts-ignore import { XCUITestDriver } from 'appium-xcuitest-driver'; diff --git a/test/unit/element.specs.ts b/test/unit/element.specs.ts index 72225e3..748c22b 100644 --- a/test/unit/element.specs.ts +++ b/test/unit/element.specs.ts @@ -10,9 +10,6 @@ import { W3C_ELEMENT_KEY } from 'appium/driver'; import { ELEMENT_CACHE, clear, - click, - elementDisplayed, - elementEnabled, findElOrEls, getAttribute, getElementRect,