티스토리 뷰
org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element <input type="submit" value="등록" class="btn btn-inverse pull-right"> is not clickable
xemaker 2021. 12. 21. 17:58자바 셀레니움으로 라이믹스 회원가입 매크로를 만들려고 하는데 값 입력한 후 등록 버튼을 클릭하려고 하는데 자꾸 에러가 났다.
org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element <input type="submit" value="등록" class="btn btn-inverse pull-right"> is not clickable at point (887, 857). Other element would receive the click: <ul class="nc_memu guest">...</ul>
이상하네..
구글링을 해보니
org.openqa.selenium.ElementClickInterceptedException: element click intercepted error using Selenium and Java in headless mode
I have a project that I am working on with java and selenium. the test work OK in UI mode. However in headless mode I get this error org.openqa.selenium.ElementClickInterceptedException: element c...
stackoverflow.com
- Adding the argument start-maximized
- ChromeOptions options = new ChromeOptions(); options.addArguments("--headless"); options.addArguments("start-maximized"); WebDriver driver = new ChromeDriver(options);
이런게 있었다.
그래서
ChromeOptions options = new ChromeOptions();
options.addArguments("--headless");
options.addArguments("start-maximized");
driver = new ChromeDriver(options);
했는데 안됐다. 그래서 --headless 를 주석처리했다.
ChromeOptions options = new ChromeOptions();
//options.addArguments("--headless");
options.addArguments("start-maximized");
driver = new ChromeDriver(options);
그러니 되었다..
options.addArguments("start-maximized");
이거를 넣었더니 화면이 꽉찾다.
흠.. 화면이 최대 크기로 되어 있지 않아서 그런가..
- Total
- Today
- Yesterday
- XE
- esql
- 플러터
- JDBC
- 이클립스
- xe addon
- 프로씨
- 문자열
- php
- 자바
- proc
- xe애드온
- MySQL
- C
- Python
- 스크래핑
- 자바 smtp
- ocjap
- 포인터
- C언어
- webix
- 라이믹스
- ocajp
- 오라클
- 파이썬
- KG
- 파싱
- 인포믹스
- XE3
- EC
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |