
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
wd
Advanced tools
.. image:: https://img.shields.io/coveralls/macacajs/wd.py/master.svg?style=flat-square :target: https://coveralls.io/github/macacajs/wd.py
.. image:: https://img.shields.io/travis/macacajs/wd.py/master.svg?style=flat-square :target: https://travis-ci.org/macacajs/wd.py
.. image:: https://img.shields.io/pypi/v/wd.svg?style=flat-square :target: https://pypi.python.org/pypi/wd
.. image:: https://img.shields.io/pypi/pyversions/wd.svg?style=flat-square :target: https://pypi.python.org/pypi/wd/
.. image:: https://img.shields.io/pypi/dd/wd.svg?style=flat-square :target: https://pypi.python.org/pypi/wd/
WD.py is a Python WebDriver client implemented most of the APIs in the WebDriver Protocol <https://www.w3.org/TR/webdriver/>.
It was originally designed for Macaca <//macacajs.github.io> (A Node.js powered WebDriver server), but also available for any other implementation of WebDriver server
such as Selenium, Appium and etc.
WD.py’s documentation. <//macacajs.github.io/wd.py/>_
WD.py’s sample. <//github.com/macaca-sample/macaca-test-sample-python/>_
.. code-block:: python
>>> from macaca import WebDriver, WebElement
# Configure the desired capabilities.
>>> desired_caps = {
'autoAcceptAlerts': True,
'browserName': 'electron',
'platformName': 'desktop'
}
>>> driver = WebDriver(desired_caps)
# Start the WebDriver session
>>> driver.init()
# Support fluent API
>>> driver.set_window_size(1280, 800).get("https://www.google.com")
# Get WebElement instance through element_by_* APIs.
>>> web_element = driver.element_by_id("lst-ib")
>>> print(type(web_element))
macaca.webelement.WebElement
# WebElement include methods such as send_keys, click, get_attribute and etc.
>>> web_element.send_keys("macaca")
>>> web_element = driver.element_by_name("btnK")
>>> web_element.click()
# WebDriver also has some properties like source, title and current_url.
>>> html = driver.source
>>> print('Does Macaca exist: ', 'macaca' in html)
Does Macaca exist: True
>>> title = driver.title
>>> print(title)
macaca - Google Search
Details changes for each release are documented in the HISTORY.rst <HISTORY.rst>_.
See CONTRIBUTING.rst <./CONTRIBUTING.rst>_
MIT <http://opensource.org/licenses/MIT>_
FAQs
Macaca Python Client
We found that wd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.