Custom webview x y coordinate click

I have doubt about custom webview extension?
Is it possible to click on cutsom web view loaded page by using x and y cordinate value

For example
In loaded page has a button named login
We know the x and y value of login button position on our app screen. I want to click that login with other button click with help of x and y values

Is it possible

Each device has different dimensions and resolutions, so a solution like that would not be very useful…

Use some JavaScript zo click a button