Removed magic number and created final int in mehtod waitForElementPresent