def find_wifi_network(self, network_ssid):
    wifi_network_locator = (By.CSS_SELECTOR, ('#networks-list li[data-ssid="%s"]' % network_ssid))
    wifi_network = self.wait_for_element_present(*wifi_network_locator)
    self.marionette.execute_script('arguments[0].scrollIntoView(false);', [wifi_network])
    return wifi_network
def find_wifi_network(self, network_ssid):
    wifi_network_locator = (By.CSS_SELECTOR, ('#networks-list li[data-ssid="%s"]' % network_ssid))
    wifi_network = self.wait_for_element_present(*wifi_network_locator)
    self.marionette.execute_script('arguments[0].scrollIntoView(false);', [wifi_network])
    return wifi_network