Created
June 5, 2012 16:34
-
-
Save isaulv/2876112 to your computer and use it in GitHub Desktop.
Wrapped function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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