Skip to content

Instantly share code, notes, and snippets.

@isaulv
Created June 5, 2012 16:34
Show Gist options
  • Select an option

  • Save isaulv/2876112 to your computer and use it in GitHub Desktop.

Select an option

Save isaulv/2876112 to your computer and use it in GitHub Desktop.
Wrapped function
def namedFunction(locator, text):
def realFunction(driver, locator,text)
return driver.x(locator).get(text)
return partial(realFunction, locator=locator, text=text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment