Can I perform following functions using HTML Unit Driver headless browser automation?
- Is it possible to take snapshot?
- Can click any hyperlink ?
- Possible to handle pop-ups?
Please help
I am planning to do automation using HTMLUnit driver
Can I perform following functions using HTML Unit Driver headless browser automation?
Please help
I am planning to do automation using HTMLUnit driver
Yes, You can perform all operations as per of your all 3 point using headless browser. Don't use
HTMLUnit
as it have many configuration issue.PhamtomJS was another approach for headless browser but PhantomJs is having bug these days because of poorly maintenance of it.
You can use chromedriver itself for headless jobs.
You just need to pass one option in chromedriver as below:-
Full code will appear like this :-
Hope it will help you :)