htmlunit-driver
htmlunit-driver copied to clipboard
Use Capabilities API to set options
trafficstars
User description
Instead of using the importOptions method to duplicate every option, set the individual options directly via the Capabilities API.
PR Type
Enhancement
Description
- Replaced the use of
WebClientOptionswithHtmlUnitDriverOptionsfor setting up the WebDriver. - Set individual options directly via the
HtmlUnitOptioncapabilities API. - Removed the
importOptionsmethod to streamline option setting.
Changes walkthrough 📝
| Relevant files | |||
|---|---|---|---|
| Enhancement |
|
💡 PR-Agent usage: Comment
/helpon the PR to get a list of all available PR-Agent tools and their descriptions