selenium의 파일 다운로드 경로 변경하기
selenium을 이용해서 파일을 다운로드할때, 다운로드 받는 파일의 경로를 변경하고 싶었다. 이럴때, 아래와 같이 할 수 있다. from selenium import webdriver import time testUrl = "http://localhost:8080/download/avocado-prices.zip" driver = "/Users/akamikang/developer/lib/chromedriver" screenshot_name = "my_mail_box.png" options = webdriver.ChromeOptions() #options.add_argument('headless') options.add_argument("disable-gpu") options.add_argument("l..
개발/Python
2020. 2. 9. 10:54
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Lodash
- redmine plugin
- covid19
- pyenv
- selenium #chromedriver
- 동적클래스생성
- __code__
- jqzip
- anaconda env
- conda init
- jupyter lab
- docker
- gitlab
- pip freeze #패쇄망 #wheel
- HashMap.getOrDefault
- 호스트와 시간맞추기
- zsh
- sorted
- inspect.py
- bootrap
- elasticsearch
- vscode
- python의 Reflection
- MAC
- jqgrid
- importlib
- backup
- Selenium
- Restore
- virturalenv
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
글 보관함