0

sahi로 크롬 확장을 자동화하고 있습니다.sahi로 Google chrome 확장 자동화하기

프로필에 확장명이 추가 된 sahi가있는 크롬 프로필을로드했습니다.

확장 프로그램의 DOM 요소를 가져올 수 없습니다.

그래서 우리는 URL로 이동됩니다 크롬 확장 :

하지만 sahi /extension_id/popup.html이 URL로 이동하지 않습니다.

하지만 셀레늄으로 읽었습니다.

이 자동화로 도와주세요.

+0

그래서, 크롬 확장이 크롬에 추가됩니다? –

+0

@peter : 예 크롬 웹 브라우저에 확장 기능이 표시되지만 DOM 요소를 가져올 수 없습니다. – Sohil

+0

url : chrome-extension : /extension_id/popup.html을 수동으로 시도 했습니까? –

답변

0

잘 모르겠습니다. 여기서 문제를 이해합니다. 그러나 크롬에 대한 몇 가지 옵션을 변경하려는 경우 나는이 'Chromium Command Line Switches'을 사용하여 'browser_types.xml`에 브라우저를 설정할 때 설정할 올바른 옵션을 찾습니다. 예를 들어

: 브라우저를 열 때

<options>--no-default-browser-check --user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --proxy-server=127.0.0.1:$port --disable-popup-blocking --always-authorize-plugins --allow-outdated-plugins --enable-npapi --incognito</options>