-
지정된 휴대 기기에서 Chrome이 실행되지 않음 (모바일 에뮬레이션 모드)카테고리 없음 2020. 8. 4. 20:09
질문
이 동영상에 따르면 https://www.youtube.com/watch?v=0cxlWjscdiI 아래 코드는 페이지의 코드를 검사 할 때 작은 모바일 장치 아이콘을 활성화하고 페이지 링크를 탐색 할 때 화살표 대신 회색 원 커서를 표시해야합니다. 그렇게하지 않습니다. 사용중인 장치 이름이 에뮬레이트 할 장치 목록에 있음을 알고 있습니다. 이미지와 코드는 다음과 같습니다.
static IWebDriver driver = null; ChromeOptions options = new ChromeOptions(); options.EnableMobileEmulation("iPhone 6/7/8"); driver = new ChromeDriver(options); driver.Navigate().GoToUrl("https://www.instagram.com/accounts/login");