-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Fixes #1372: apoc.load.html ability to read runtime structure…
… of the page (#1990)" (#2005) (#2006) This reverts commit 8b64f01. Co-authored-by: Andrea Santurbano <[email protected]>
- Loading branch information
1 parent
c2be0bc
commit 9b77682
Showing
19 changed files
with
79 additions
and
903 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 2 additions & 11 deletions
13
docs/asciidoc/modules/ROOT/partials/usage/config/apoc.load.html.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
The procedure support the following config parameters: | ||
|
||
.Config parameters | ||
[opts="header",cols="1m,2m,1m,4"] | ||
[opts=header] | ||
|=== | ||
| name | type | default | description | ||
| browser | Enum [NONE, CHROME, FIREFOX] | NONE | If it is set to "CHROME" or "FIREFOX", is used https://www.selenium.dev/documentation/en/webdriver/[Selenium Web Driver] to read the dynamically generated js. | ||
In case it is "NONE" (default), it is not possible to read dynamic contents. | ||
Note that to use the Chrome or Firefox driver, you need to have them installed on your machine and you have to download additional jars into the plugin folder. <<selenium-depencencies, See below>> | ||
| wait | long | 0 | If greater than 0, it waits until it finds at least one element for each of those entered in the query parameter | ||
(up to a maximum of defined seconds, otherwise it continues execution). | ||
Useful to handle elements which can be rendered after the page is loaded (i.e. slow asynchronous calls). | ||
| charset | String | "UTF-8" | the character set of the page being scraped, if `http-equiv` meta-tag is not set. | ||
| headless | boolean | true | Valid with `browser` not equal to `NONE`, allow to run browser in https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md[headless mode], | ||
that is without actually opening the browser UI (recommended). | ||
| acceptInsecureCerts | boolean | true | If true, allow to read html from insecure certificates | ||
| charset | String | "UTF-8" | the character set of the page being scraped | ||
| baseUri | String | "" | Base URI used to resolve relative paths | ||
| failSilently | Enum [FALSE, WITH_LOG, WITH_LIST] | FALSE | If the parse fails with one or more elements, using `FALSE` it throws a `RuntimeException`, using `WITH_LOG` a `log.warn` is created for each incorrect item and using `WITH_LIST` an `errorList` key is added to the result with the failed tags. | ||
|=== |
This file was deleted.
Oops, something went wrong.
Empty file.
6 changes: 0 additions & 6 deletions
6
extra-dependencies/selenium/gradle/wrapper/gradle-wrapper.properties
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.