Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dd-selenium

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dd-selenium

Providing drag and drop functionality in selenium python.

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

Providing drag and drop functionality in selenium python

This is a basic package which provides functionality of drag and drop in python using javascript. It is compatible with youtube, instagram and most of other websites which require drag and drop for pasting/uploading a file.

How to use?

To use this package you need to first install it using pip, type:

pip install dd-selenium

After it's done navigate back to your program and type:

import dd_selenium

Now for drag and drop you need to use a function from the package, type:

dd_selenium.dds(drop_target, path)

Replace 'drop_target' with the div you want to drag and drop in and replace 'path' with the file path on your pc.

Example:

import dd_selenium

path = driver.findElement(By.PATH(""));

dd_selenium.dds(path, "C:/abc.file")

Thanks for checking out. Suggest changes at doneatease@gmail.com

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc