MCPcopy
hub / github.com/laurentj/slimerjs

github.com/laurentj/slimerjs @1.0.0 sqlite

repository ↗ · DeepWiki ↗ · release 1.0.0 ↗
5,694 symbols 14,213 edges 242 files 127 documented · 2%
README

SlimerJS

http://slimerjs.org/

SlimerJS is a scriptable browser. It allows you to manipulate a web page with an external Javascript script: opening a webpage, clicking on links, modifying the content... It is useful to do functional tests, page automation, network monitoring, screen capture etc.

It is a tool like PhantomJs, except that it runs Gecko instead of Webkit, and it is not (yet) natively headless. However, it can be headless with the use of xvfb under Linux (but not on MacOS).

SlimerJS provides the same API of PhantomJS. The current version of SlimerJS is highly compatible with PhantomJS 1.9. See current release notes in docs/release-notes-*.rst, and read the compatibility table to know the implementation level.

The main goal of SlimerJS is to allow to execute all scripts developed for PhantomJS. So you could use tools like CasperJS. In fact, CasperJs 1.1 and higher can be executed with SlimerJS!

SlimerJS is not only a PhantomJS clone, it contains also additional features.

Technically, SlimerJS is a XUL/JS application that is launched with Firefox.

Community

Follow us on twitter: @slimerjs

Ask your questions on the dedicated mailing list.

Or discuss with us on IRC: channel #slimerjs on irc.mozilla.org.

Install SlimerJS, executing a script...

See documentation into the docs/ directory into the source code, or read it on the web site

Roadmap

The goal for a first major stable release 1.0 is to have a full implementation of the API of PhantomJS 1.9.x and 2.1, with the support of Coffee scripts and Ghost Driver.

FAQ and contribution

Read the faq into the website/faq.html file or on the website.

Core symbols most depended-on inside this repo

expect
called by 4944
test/jasmine/jasmine.js
require
called by 288
src/modules/addon-sdk/toolkit/loader.js
o
called by 203
src/modules/coffee-script/extras/coffee-script.js
a
called by 199
src/modules/coffee-script/extras/coffee-script.js
runs
called by 144
test/jasmine/jasmine.js
dumpn
called by 128
src/components/httpd.js
$
called by 106
src/vendors/ghostdriver/third_party/webdriver-atoms/tap.js
Y
called by 101
src/vendors/ghostdriver/third_party/webdriver-atoms/type.js

Shape

Function 5,694

Languages

TypeScript100%
Python1%

Modules by API surface

src/vendors/ghostdriver/third_party/webdriver-atoms/click.js225 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/clear.js208 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/submit.js206 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/type.js204 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/rotate.js196 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/pinch.js196 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/tap.js192 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/swipe.js192 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/double_click.js184 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/right_click.js182 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/drag.js182 symbols
src/vendors/ghostdriver/third_party/webdriver-atoms/scroll_mouse.js172 symbols

Dependencies from manifests, versioned

jison>=0.2.0 · 1×
uglify-js>=1.0.0 · 1×

For agents

$ claude mcp add slimerjs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact