def test_purchase_behaviour_subcategory(self): project_name = self.configAB["purchase_behaviour"]["project_name"] ds_type = self.configAB["purchase_behaviour"]["ds_type"] home_page = HomePage(self.webdriver, self.config) home_page.searchProjects(project_name) project_page = ProjectPage(self.webdriver, self.config) audience_page = AudiencePage(self.webdriver, self.config) sleep(5) project_page.add_audience_button().click() audience_page.audience_name_textbox().send_keys('Test Audience') audience_page.add_dataSource(ds_type) self.webdriver.find_element_by_xpath( "//select[contains(@ng-model,'criteriaColumnSelector')]").click() self.webdriver.find_element_by_xpath( "//option[text()='Subcategory']").click() sleep(5) self.webdriver.find_element_by_xpath("//an-typeahead").click() sleep(5) try: self.webdriver.find_elements_by_xpath("//an-typeahead/div/ul/li") audience_page.aud_back_arrow().click() except NoSuchElementException: assert False
def test_purchase_behaviour_category(self): project_name = self.configAB["purchase_behaviour"]["project_name"] ds_type = self.configAB["purchase_behaviour"]["ds_type"] home_page = HomePage(self.webdriver, self.config) home_page.searchProjects(project_name) project_page = ProjectPage(self.webdriver, self.config) audience_page = AudiencePage(self.webdriver, self.config) sleep(5) project_page.add_audience_button().click() audience_page.audience_name_textbox().send_keys('Test Audience') audience_page.add_dataSource(ds_type) self.webdriver.find_element_by_xpath( "//select[contains(@ng-model,'criteriaColumnSelector')]").click() self.webdriver.find_element_by_xpath( "//option[text()='Category']").click() sleep(5) try: self.webdriver.find_element_by_xpath( "//input[@placeholder='Begin typing to search...']").click() self.webdriver.find_element_by_xpath( "//li[contains(text(),'AIR FRESHENERS')]").click() audience_page.aud_back_arrow().click() except NoSuchElementException: assert False
def test_save_and_create_all_aud(self): # project_name = self.configAB["Conceptual"]["project_name"] home_page = HomePage(self.webdriver, self.config) home_page.searchProjects('Lotame_Switzerland_30-08-2019') project_page = ProjectPage(self.webdriver, self.config) audience_page = AudiencePage(self.webdriver, self.config) sleep(5) aud_name_list = [] aud_list = WebDriverWait(self.webdriver, 100).until( EC.presence_of_all_elements_located( (By.XPATH, "//div[contains(@class ,'audience-title')]"))) for aud in aud_list: audience_name = str(aud.text) aud_name_list.append(audience_name) for aud_name in aud_name_list: try: sleep(5) project_page.audience_menu_icon(aud_name).click() project_page.audienceEditIcon(aud_name) except Exception as e: print(aud_name, e) continue try: sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(aud_name, e) audience_page.aud_back_arrow().click()
def test_verify_activation_rate_on_copy_criteria(self): section = self.__class__.__name__ project_name_act_rate = self.configAB["cpm_rate"][ "project_name_act_rate"] source_audience_name = self.configAB["cpm_rate"][ "source_audience_name"] home_page = HomePage(self.webdriver, self.config) home_page.searchProjects(project_name_act_rate) project_page = ProjectPage(self.webdriver, self.config) project_page.audience_menu_icon(source_audience_name).click() project_page.audienceEditIcon(source_audience_name) audience_page = AudiencePage(self.webdriver, self.config) activation_rate1 = WebDriverWait(self.webdriver, 50).until( EC.visibility_of_element_located( (By.XPATH, "//span[contains(@class,'cost')]"))).text audience_page.copy_audience_criteria_within_self("Location Data") self.webdriver.find_element_by_xpath( "//div[@class='sources-panel']/div[1]").click() #Opening criteria builder page project_page.AddAudienceButton().click() sleep(5) self.webdriver.find_element_by_xpath( "//div[text()='Insert Copied Criteria']").click() activation_rate2 = WebDriverWait(self.webdriver, 50).until( EC.visibility_of_element_located( (By.XPATH, "//span[contains(@class,'cost')]"))).text self.assertEqual(activation_rate1, activation_rate2, 'Activation rate differ after copy') audience_page.aud_back_arrow().click()
def test_verify_activation_rate_and_CPM_value(self): section = self.__class__.__name__ project_name = self.configAB["cpm_rate"]["project_name"] audience_name = self.configAB["cpm_rate"]["audience_name"] home_page = HomePage(self.webdriver, self.config) project_page = ProjectPage(self.webdriver, self.config) audience_page = AudiencePage(self.webdriver, self.config) home_page.searchProjects(project_name) project_page.audience_menu_icon(audience_name).click() project_page.audience_share_icon(audience_name).click() self.webdriver.find_element_by_xpath( "//*[text()='" + audience_name + "']//following::div[contains(@class ,distribute-dd-menu)]/div[contains(text(),'Trade Desk')]" ).click() CPM_rate = WebDriverWait(self.webdriver, 50).until( EC.visibility_of_element_located( (By.XPATH, "//table[@class='rate-card-table']/tbody/tr/th/span"))).text print(CPM_rate) self.webdriver.find_element_by_xpath( "//button[contains(@ng-click,'btn.onClick()')]//following::span[text()='Cancel']" ).click() project_page.audience_menu_icon(audience_name).click() project_page.audienceEditIcon(audience_name) activation_rate = WebDriverWait(self.webdriver, 50).until( EC.visibility_of_element_located( (By.XPATH, "//span[contains(@class,'cost')]"))).text print(activation_rate) self.assertEqual(activation_rate, CPM_rate, 'Activation rate & CPM rate is not same') audience_page.aud_back_arrow().click()
def test_all(self): country = self.configAB["Conceptual"]["country"] project_name = self.configAB["Conceptual"]["project_name"] ds_type = "Browsing Behavior" home_page = HomePage(self.webdriver, self.config) home_page.searchProjects(project_name) proj_page = ProjectPage(self.webdriver, self.config) proj_page.add_audience_button().click() audience_page = AudiencePage(self.webdriver, self.config) try: audience_page.add_dataSource(ds_type) # audience_page.create_browsing_behaviour_domain_categories_multiple_sub_category('Social Media',sub_category=['Blogs','Social Networking']) audience_page.create_browsing_behaviour_domain_categories_single_sub_category( 'Social Media', 'Blogs') audience_page.add_dataSource(ds_type) audience_page.create_browsing_behaviour_domain_categories_single_sub_category( 'Social Media', 'Social Networking') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSA - Any Social - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - Any Social - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_browsing_behaviour_domain_names( 'facebook.com') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " SSA - FB - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - FB - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_browsing_behaviour_domain_names( 'instagram.com') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " SSA - IG - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - IG - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_browsing_behaviour_domain_names( 'facebook.com') audience_page.inner_criteria_plusIcon().click() audience_page.create_browsing_behaviour_domain_names( 'instagram.com') list = self.webdriver.find_elements_by_xpath( "//div[contains(@class,'criteria-oper')]/div[text()='AND']") list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSOA - FB,IG - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSOA - FB,IG - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_browsing_behaviour_domain_names( 'facebook.com') audience_page.add_dataSource(ds_type) audience_page.create_browsing_behaviour_domain_names( 'instagram.com') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSAA - FB & IG - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSAA - FB & IG - JS") audience_page.aud_back_arrow().click() ######################Lotame####################### ################################################### ds_type = "Advanced Audience Data" try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'In-Market Audiences', 'Automotive & Vehicles', 'Cars', 'TRUE') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSA-Auto In Market-Lotm") sleep(5) audience_page.save_and_create_button().click() ############################################### except Exception as e: print(e, country + " SSA-Auto In Market-Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria_multiple_attribute_value( 'In-Market Audiences', 'Automotive & Vehicles', 'Car Classifications', value=['Luxury SUV', 'Luxury Sedan']) audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSOA-Lux Auto In Market-Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSOA-Lux Auto In Market-Lotm") audience_page.aud_back_arrow().click() ############################################### try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria_multiple_attribute_value( 'In-Market Audiences', 'Automotive & Vehicles', 'Car Classifications', value=['Luxury SUV', 'Luxury Sedan']) audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria_multiple_attribute_value( 'Purchase History', 'Automotive & Vehicles', 'Car Classifications', value=['Luxury SUV', 'Luxury Sedan']) audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSAA-Lux Auto InMarket & Own-Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSAA-Lux Auto InMarket & Own-Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Any Social Media') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSA Any Social - Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA Any Social - Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Demographics', 'Gender', 'Male', 'TRUE') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " Population Male") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " Population Male") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Demographics', 'Gender', 'Female', 'TRUE') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " Population Female") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " Population Female") audience_page.aud_back_arrow().click() ###################################### for age_range in ['18-24', '25-34', '35-44', '45-54', '55-64', '65+']: try: proj_page = ProjectPage(self.webdriver, self.config) proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) # audience_page.create_advanced_audience_data_criteria('Demographics', 'Age', age_range, 'TRUE') audience_page.create_advanced_audience_data_criteria( 'Demographics', 'Age', 'Age Group', age_range) audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " Population " + age_range) sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " Population " + age_range) audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Facebook') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " SSA - FB - Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - FB - Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Instagram') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " SSA - IG - Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - IG - Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Facebook') audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Instagram') list = self.webdriver.find_elements_by_xpath( "//div[contains(@class,'criteria-oper')]/div[text()='AND']") list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSOA - FB,IG - Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSOA - FB,IG - Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Facebook') audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Instagram') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSAA - FB & IG - Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSAA - FB & IG - Lotm") audience_page.aud_back_arrow().click() ################################################# ##################jumpshot-lotame################ try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names( 'facebook.com') sleep(5) audience_page.add_dataSource('Advanced Audience Data') audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Facebook') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " MSSA - FB - JS and Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " MSSA - FB - JS and Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names( 'instagram.com') sleep(5) audience_page.add_dataSource('Advanced Audience Data') audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Instagram') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " MSAA - IG - JS and Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " MSAA - IG - JS and Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names( 'facebook.com') sleep(5) audience_page.add_dataSource('Advanced Audience Data') audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Facebook') list = self.webdriver.find_elements_by_xpath( "//div[contains(@class,'criteria-oper-groups')]/div[text()='AND']" ) list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " MSOA - FB - JS or Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " MSOA - FB - JS or Lotm") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names( 'instagram.com') sleep(5) audience_page.add_dataSource('Advanced Audience Data') audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Instagram') list = self.webdriver.find_elements_by_xpath( "//div[contains(@class,'criteria-oper-groups')]/div[text()='AND']" ) list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " MSOA - IG - JS or Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " MSOA - IG - JS or Lotm") audience_page.aud_back_arrow().click()
def test_prod_aud(self): country = self.configAB["Conceptual"]["country"] project_name = self.configAB["Conceptual"]["project_name"] ds_type = "Advanced Audience Data" home_page = HomePage(self.webdriver, self.config) home_page.searchProjects(project_name) proj_page = ProjectPage(self.webdriver, self.config) audience_page = AudiencePage(self.webdriver, self.config) try: proj_page = ProjectPage(self.webdriver, self.config) proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) # audience_page.create_advanced_audience_data_criteria('Demographics', 'Age', age_range, 'TRUE') audience_page.create_advanced_audience_data_criteria('Demographics', 'Age', 'Age Group', '18-24') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " Population " + '18-24') sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " Population " + '18-24') audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') # audience_page.create_browsing_behaviour_domain_categories_multiple_sub_category('Social Media',sub_category=['Blogs','Social Networking']) audience_page.create_browsing_behaviour_domain_categories_single_sub_category('Social Media', 'Blogs') audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_categories_single_sub_category('Social Media', 'Social Networking') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " SSA - Any Social - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - Any Social - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names('facebook.com') audience_page.inner_criteria_plusIcon().click() audience_page.create_browsing_behaviour_domain_names('instagram.com') list = self.webdriver.find_elements_by_xpath("//div[contains(@class,'criteria-oper')]/div[text()='AND']") list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " SSOA - FB,IG - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSOA - FB,IG - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names('facebook.com') sleep(5) audience_page.add_dataSource('Advanced Audience Data') audience_page.create_advanced_audience_data_criteria('Affinity Audiences', 'Digital Engagement', 'Social Media', 'Facebook') list = self.webdriver.find_elements_by_xpath("//div[contains(@class,'criteria-oper-groups')]/div[text()='AND']") list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " MSOA - FB - JS or Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " MSOA - FB - JS or Lotm") audience_page.aud_back_arrow().click()
def test_all(self): country = self.configAB["Conceptual"]["country"] project_name = self.configAB["Conceptual"]["project_name"] ds_type = "Advanced Audience Data" home_page = HomePage(self.webdriver, self.config) home_page.searchProjects(project_name) proj_page = ProjectPage(self.webdriver, self.config) proj_page.add_audience_button().click() audience_page = AudiencePage(self.webdriver, self.config) try: audience_page.add_dataSource(ds_type) audience_page.create_advanced_audience_data_criteria_multiple_attribute_value( 'In-Market Audiences', 'Automotive & Vehicles', 'Car Classifications', value=['Luxury SUV', 'Luxury Sedan']) audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSOA-Lux Auto In Market-Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSOA-Lux Auto In Market-Lotm") audience_page.aud_back_arrow().click() ############################################### try: proj_page.add_audience_button().click() audience_page.add_dataSource(ds_type) # audience_page.create_advanced_audience_data_criteria('Demographics', 'Age', '18-24', 'TRUE') audience_page.create_advanced_audience_data_criteria( 'Demographics', 'Age', 'Age Group', '18-24') audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys(country + " Population " + '18-24') sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " Population 18-24") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_categories_multiple_sub_category( 'Social Media', sub_category=['Blogs', 'Social Networking']) audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " SSA - Any Social - JS") sleep(10) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " SSA - Any Social - JS") audience_page.aud_back_arrow().click() try: proj_page.add_audience_button().click() audience_page.add_dataSource('Browsing Behavior') audience_page.create_browsing_behaviour_domain_names( 'instagram.com') sleep(5) audience_page.add_dataSource('Advanced Audience Data') audience_page.create_advanced_audience_data_criteria( 'Affinity Audiences', 'Digital Engagement', 'Social Media', 'Instagram') list = self.webdriver.find_elements_by_xpath( "//div[contains(@class,'criteria-oper-groups')]/div[text()='AND']" ) list[1].click() self.webdriver.find_element_by_xpath("//div[text()='OR']").click() audience_page.audience_name_textbox().clear() audience_page.audience_name_textbox().send_keys( country + " MSOA - IG - JS or Lotm") sleep(5) audience_page.save_and_create_button().click() except Exception as e: print(e, country + " MSOA - IG - JS or Lotm") audience_page.aud_back_arrow().click()