1

요소가 존재할 때까지 기다리는 동안 다음 오류가 발생합니다.Firefox 드라이버 "_wrapped"속성에 액세스 할 수있는 권한이 거부되었습니다.

코드

return self.wait(timeout, driver).until(EC.visibility_of_element_located((by, locator_value))) 

파이어 폭스 버전 : 53.0 및 52.0

셀레늄 버전 : 3.4.0

그것은 49.0 버전으로 완벽하게 작동합니다.

Browsestack 기능

"browser": "Firefox", "browserVersion": "", "os": "Windows", "osVersion": "7", "resolution": "1024x768", "marionette": true

오류 :

Error: Permission denied to access property "_wrapped" Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: '185-44-131-246', ip: '185.44.131.246', os.name: 'windows', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_121' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{moz:profile=C:\Windows\proxy\rust_mozprofile.WHqBtiZRRUrH, rotatable=false, timeouts={implicit=0.0, pageLoad=300000.0, script=30000.0}, pageLoadStrategy=normal, platform=ANY, specificationLevel=0.0, moz:accessibilityChecks=false, acceptInsecureCerts=false, browserVersion=53.0, platformVersion=6.1, moz:processID=3832.0, browserName=firefox, javascriptEnabled=true, platformName=windows_nt}] Session ID: e4e0d3d6-c9ca-478c-bb58-b1ec2fa9317c

갱신 :

문제는 is_displayed 방법, 그것은 지원 아니에요. 그러나, 그것은 단지 일부 HTML 프레임 워크에서만 발생, 나는 구글 웹 사이트에서 동일한 코드를 시도하고 작동합니다. 그러나 반응 프레임 워크를 사용하는 우리의 응용 프로그램에서는 위의 문제와 함께 실패합니다.

이상한 것. Selenium 3.0.1 beta2 및 Firefox 49,51,52 atleast는 is_displayed 메서드와 작동하지만 마우스 이벤트 (ActionChains) 및 JavaScript 실행에 대해 동일한 오류가 발생합니다.

+0

나는 또한 이것을보고있다. Firefox 53.0.2 (64 비트) MacSt 10.12.4 (16E195) Python 3.6.0 :: Anaconda 4.3.1 (x86_64) geckodriver 0.16.1 – Charles

+0

BrowserStack에서 오류가 발생하면 컴퓨터의 Firefox에서 오류가 발생합니다. 마우스 이동 작업과 관련하여 Firefox에서 로컬로 시도했지만 GeckoDriver 0.16을 사용하면 작동합니다. 이유를 모르겠지만 셀레늄 항아리 3.x (http : // localhost : 4444/wd/hub)를 도입하면 실패합니다. –

답변

관련 문제