title: JAVA Selenium WebElement overriding click() method
body: <p>Is it good practice to <code>override WebElement click()</code> to add some <code>wait</code> functionality, because in some pages i need to click button and in some cases button is not loaded yet so i added wait to check if element is visible.</p>
  
  <p><strong>So My question is:</strong> Is it better to create <code>abstract class</code> which would implement WebElement and override click() method to add some wait functionality or it is better just to have plain wait only in specific pages ?</p>