public static void main(String[] args) { HomePage homePage = new HomePage(null); LoginPage loginPage = homePage.clickSignIn(); loginPage.enterCredentials("*****@*****.**", "wixwixwix"); loginPage.checkSignIn(); MyAccountPage myAccount = loginPage.clickGo(); // EditorPage editor = myAccount.clickEditSite("tailor"); TemplatesPage templates = myAccount.clickCreateNewSite(); EditorPage editor = templates.clickEditSite(); MarketPage market = editor.clickAppMarket(); market.findApp("wix weather"); market.addApp("wix weather"); editor.openSettings(); // editor.resize(); }