parameters: (action_object, step_desc, value, loc)
docstring: 验证URL是否正确
  	:param action_object:
  	:param step_desc:
  	:param value:
  	:param loc: 预期结果
  	:return:
docstring_summary: 验证URL是否正确
  	:param action_object:
  	:param step_desc:
  	:param value:
  	:param loc: 预期结果
  	:return:
docstring_tokens: 验证URL是否正确 : param action_object : : param step_desc : : param value : : param loc : 预期结果 : return :
function: def action_assertUrl(action_object, step_desc, value, loc):
  	"""
  	验证URL是否正确
  	:param action_object:
  	:param step_desc:
  	:param value:
  	:param loc: 预期结果
  	:return:
  	"""
  	print(value)
  	expected = action_object.driver.current_url
  	print(u'预期结果：' + value)
  	print(u'实际结果：' + expected)
  	if value not in expected:
  		action_object.saveScreenshot("urlError")
  		return u'实际结果和预期结果不同！'
function_tokens: def action_assertUrl ( action_object , step_desc , value , loc ) : print ( value ) expected = action_object . driver . current_url print ( u'预期结果：' + value) print ( u'实际结果：' + expecte ) if value not in expected : action_object . saveScreenshot ( "urlError" ) return u'实际结果和预期结果不同！'