Not able to detect elements on webview via their id's

Not able to detect elements on webview via their id’s in Android despite changing to webview context. Even tried updating my chrome driver. Nothing helps. Any way to solve this issue?

The suggested way to do that is using Class name, CSS etc…something handy in case of web.

so id’s won’t work for sure?

I’m facing the same issue as well. Not able to access the webview elements by class name or ID? any help will be appreciated.