web crawler - use htmlunit how to get modal dialog element -
i want go website https://console.mobra.in htmlunit tool, login input in modal box, how username input element or login form? use queryselector method in htmlunit. usernamebox = currentpage.queryselector("[placeholder='username or email address']"); passwordbox = currentpage.queryselector("[data-ng-model='user.password']"); to above css selector, may install chrome extension 'css selector' of using selectorgadget . if works, please tick answer, or otherwise please leave comment below.