Capgemini interview question

Write a code to access web table elements?