handling web table(static and dynamic) in selenium