Skip to main content

# Overview

Author: Niklas Baumstark

A standalone version of the Webkit server included in [capybara-webkit][1]. It includes a slim Python wrapper and the following improvements over the original version from thoughtbot:

  • Wait command to wait for the current page to load

  • SetAttribute command to [configure certain QWebkit settings][2]

  • SetHtml command to [load custom HTML][3] into the browser (e.g. to execute scripts on web pages scraped by a static scraper)

  • SetViewportSize command to set the viewport size of the in-memory browser

If you are interested in web scraping using this server, have a look at [dryscrape][4].

# Building and Installing

To install the Python binding (this also builds the server and places it into Python’s site-package directory):

sudo python setup.py install

If you don’t need the Python bindings, you can also use the supplied build.sh shellscript to build the server only.

# Contact, Bugs, Contributions

If you have any problems with this software, don’t hesitate to open an issue on [Github](https://github.com/niklasb/webkit-server) or open a pull request or write a mail to niklas baumstark at Gmail.

# License

This software is based on [capybara-webkit][1]. capybara-webkit is Copyright (c) 2011 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

[1]: https://github.com/thoughtbot/capybara-webkit [2]: https://github.com/thoughtbot/capybara-webkit/pull/171 [3]: https://github.com/thoughtbot/capybara-webkit/pull/170 [4]: https://github.com/niklasb/dryscrape

Metadata

Release files for webkit-server 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webkit-server 1.0
File Size Uploaded
webkit-server-1.0.tar.gz 41.7 kB Details

Release files / webkit-server-1.0.tar.gz

Download URL webkit-server-1.0.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
836dac18c823bf7737461a2d938c66c7b3601c858897e6c92c7ba0e33574a2bc
BLAKE2b-256 checksum
How to use checksums
29f2f4f454cccde75e95359e91fa58f14497350dc97e58534f9003c77eca3dff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

0.9.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page