parameters: (action_object, step_desc, value, loc)
docstring: 设置admin初始密码
  	:param action_object:
  	:param step_desc:
  	:param value:password
  	:param loc:
  	:return:
docstring_summary: 设置admin初始密码
  	:param action_object:
  	:param step_desc:
  	:param value:password
  	:param loc:
  	:return:
docstring_tokens: 设置admin初始密码 : param action_object : : param step_desc : : param value : password : param loc : : return :
function: def action_setadmin(action_object, step_desc, value, loc):
  	"""
  	设置admin初始密码
  	:param action_object:
  	:param step_desc:
  	:param value:password
  	:param loc:
  	:return:
  	"""
  	time.sleep(1)
  	# 选择分区管理
  	action_object.find_element(('css', '#header_li_domain a')).click()
  	time.sleep(1)
  	# 输入密码
  	action_object.find_element(('css', '#domain_password_newPassword')).send_keys(value)
  	time.sleep(0.5)
  	# 输入确认密码
  	action_object.find_element(('css', '#domain_password_confPassword')).send_keys(value)
  	time.sleep(2)
  	action_object.find_element(('id', 'domain_button_saveUser')).click()
  	time.sleep(0.5)
  	if action_object.find_element(('css', '.close')) is not None:
  		action_object.find_element(('css', '.close')).click()
  	time.sleep(5)
function_tokens: def action_setadmin ( action_object , step_desc , value , loc ) : time . sleep ( 1 ) # 选择分区管理 action_object . find_element ( ( 'css' , '#header_li_domain a' ) ) . click ( ) time . sleep ( 1 ) # 输入密码 action_object . find_element ( ( 'css' , '#domain_password_newPassword' ) ) . send_keys ( value ) time . sleep ( 0.5 ) # 输入确认密码 action_object . find_element ( ( 'css' , '#domain_password_confPassword' ) ) . send_keys ( value ) time . sleep ( 2 ) action_object . find_element ( ( 'id' , 'domain_button_saveUser' ) ) . click ( ) time . sleep ( 0.5 ) if action_object . find_element ( ( 'css' , '.close' ) ) is not None : action_object . find_element ( ( 'css' , '.close' ) ) . click ( ) time . sleep ( 5 )