stateofai / naver-paper

Automatic Naver Paper Machine
MIT License
23 stars 42 forks source link

exception 처리 #16

Open stateofai opened 8 months ago

stateofai commented 8 months ago
Traceback (most recent call last):
  File "/home/runner/work/naver-paper/naver-paper/run_new.py", line 120, in <module>
    main(campaign_links, id, pw, headness)
  File "/home/runner/work/naver-paper/naver-paper/run_new.py", line 96, in main
naver_links - https://www.clien.net/service/board/jirum/[18](https://github.com/stateofai/naver-paper/actions/runs/8304757868/job/22730792521#step:5:19)640389?od=T31&po=0&category=0&groupCd=
    driver2.get(link)
  File "/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 357, in get
    self.execute(Command.GET, {"url": url})
  File "/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 348, in execute
    self.error_handler.check_response(response)
  File "/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line [22](https://github.com/stateofai/naver-paper/actions/runs/8304757868/job/22730792521#step:5:23)8, in check_response
    raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
selenium.common.exceptions.UnexpectedAlertPresentException: Alert Text: 11번가 앱에서 접속해주세요.
Message: unexpected alert open: {Alert text : 11번가 앱에서 접속해주세요.}