HtmlUnit takes lot of time to execute javascript, i would like to know if its possible to make HtmlUnit not to load javascript from url regex filters.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
Not exactly, you can't only disable javascript as a whole (probably you already know it):
but you can use a ScriptPreProcessor the javascript, and erase what you don't want: