Ho do ypu define proxy class in Selenium
Proxy objects are one of the most useful tools you can use in Selenium. This is because a proxy object gives you all the control of an object but allows you to hide and change its attributes when running commands against it.
Know more: Proxy