The code line is executing but no action performed on the screen, the user gets an error for the next code line (next element). (In Android-6.0.1)
The same code works for the device with android version 4.4.2.
Same issue for the Android 7
Can you share more details? Like screen shot, element hierarchy, logs?
Elements are web view elements in the app, it got resolved by taking