appium-espresso-driver icon indicating copy to clipboard operation
appium-espresso-driver copied to clipboard

Dearchitect Android, UiAutomator2 and Espresso Drivers

Open dpgraham opened this issue 7 years ago • 4 comments
trafficstars

Currently, there's way too much duplication of code between these drivers. We need to go through these drivers and de-duplicate much of it.

dpgraham avatar Nov 05 '18 21:11 dpgraham

Also, 1 question from me. Espresso can interact only with Application Under Test. Sometimes E2E test need to interact with OS related stuffs. Will it be possible in the future to use both Espresso and UiAutomator2 at the same time?

idxn avatar Jan 25 '19 01:01 idxn

@dpgraham would it make sense to have a base-android-driver with java and js libraries that can be imported by all the android drivers?

jlipps avatar Jan 25 '19 04:01 jlipps

@idxn There is limited support to interact with OS related stuff in espresso-driver. It was added as part of #371

rajdeepv avatar Jan 25 '19 09:01 rajdeepv

@rajdeepv Cool. Thanks a lot for pointing me out.

idxn avatar Jan 28 '19 07:01 idxn