opena11y / fae-util-node

Utility used by FAE technologies to spider and analyze web pages using OpenAjax evaluation library using the chrome browser
Apache License 2.0
1 stars 1 forks source link

Unable to test library injection and running a script in page context. (alternate branch) #2

Open mihirkumar opened 5 years ago

mihirkumar commented 5 years ago

[Headless-Chrome-Crawler] (https://github.com/yujiosaka/headless-chrome-crawler) has an API function "evaluatePage" to let users evaluate Javascript in page context. However, I have been unsuccessful in being able to get such a function to run and return a meaningful output from library injected code. Hence, I cannot verify that the libraries are being properly injected and the output is being received correctly by the script. I can verify correct functioning of web crawling by headless-chrome-crawler by running trivial Javascript in evaluatePage.

jongund commented 5 years ago

The alternative branch is trying to fix a problem in the master branch of the crawler stopping after about 50 pages. The alternative branch will uses a different way to inject scripts and get evaluation results.