I have tried to retrieve text in a rectangle. This rectangle is retrieved from Page.getLinks(). when I try to get the text in the rectangle using getTextbox() and getText(“text”