htmlunit-driver icon indicating copy to clipboard operation
htmlunit-driver copied to clipboard

Why is getWebClient a protected method?

Open jschlade opened this issue 5 years ago • 0 comments

Hi,

Again thanks to all the developers contributing to this project.

I would like to petition that you make getWebClient public so we don't have to extend HtmlUnitDriver to get access to it. Having to write stub code to do this is not good.

There are many use cases where there's a need for this as this is project is a driver for HtmlUnit and WebClient is an object that should be more accessible and not protected in this case.

Thank you

jschlade avatar Nov 06 '20 13:11 jschlade