add methods for open new tab, switch between tabs, execute js