Typescript Nested Class Python Init Array Javascript Methods In Selenium