modify method for return value as 'return this;'
replace hardcoded wait to waitforVisibleElement