Skip to content

Instantly share code, notes, and snippets.

@avuori
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avuori/33809d3537e2c994bba0 to your computer and use it in GitHub Desktop.
Save avuori/33809d3537e2c994bba0 to your computer and use it in GitHub Desktop.
def set_range(el, val):
driver.execute_javascript("arguments[0].value = arguments[1];", el, val);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment