인프런 커뮤니티 질문&답변
셀레늄 사용시 W3C 에러 문제
작성
·
251
0
안녕하세요, 알려주신 강의를 잘 활용하고 있는 수강생입니다.
최근 셀레늄을 사용하여 웹사이트 크롤링을 시도하는 과정에 아래와 같은 문제가 발생하고 있는데요,
"Cannot call non W3C standard command while in W3C mode"
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: '761e5aa9c257', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-1028-gc p', java.version: '1.8.0_265' Driver info: driver.version: unknown Error: Summary: UnknownCommand Detail: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. class: org.openqa.selenium.UnsupportedCommandException Further Details: run errorDetails method
혹시 이 문제에 대해 해결책을 알 수 있을까요?
답변 1
0
코코
지식공유자
안녕하세요. 님
답변이 늦어서 죄송합니다.
저도 말씀해주신 에러는 저도 처음보는데요.
구글링을 해보니. Rselenium은 아니지만, webdrivier의 option문제인 것 같다는 말이 있습니다.
https://stackoverflow.com/questions/56111529/cannot-call-non-w3c-standard-command-while-in-w3c-mode-seleniumwebdrivererr
크롤링하고자하는 사이트와 작성하신 코드달아주시면 저도 살펴보도록 하겠습니다.





