Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Created August 27, 2018 02:20
Show Gist options
  • Save ThaddeusJiang/c65541eb63c7a47db8d5f79d49be09f8 to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/c65541eb63c7a47db8d5f79d49be09f8 to your computer and use it in GitHub Desktop.
selenium 上传文件
driver.setValue('input#fileUpload', __dirname + '/testfile.txt')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment