screen shot capture method added and assertion fixed for jquery widget