Override Element class in BrowserSession