Giter VIP home page Giter VIP logo

seledroid's Introduction

Seledroid Remote WebDriver

Stop update

You can join my telegram group to see me make a new webdriver uwu. [This is beta, full of bugs]

I really want to upgrade it but my current knowledge doesn't allow it, this is 100% my self build, I hope you guys like it, just use this code to continue, its free, thanks :)

Welcome

Hi i'm luanon404, i'm the first one to do this crazy thing :], have you ever thought about running selenium on your phone? I guess I'm the only one who thinks that :D, that's how this library is made, enjoy it.

Support

Telegram: here

Important

All is my own build include driver

Termux support only.

I use java and javascript to do the task so sometime it won't really work.

So if you get any errors just free open issue.

Introduction

Instead of needing pc to use selenium you just need a smart phone to use seledroid.

Everything is simple, no need for any dependencies.

Supported Python Versions

  • Python 3.7+

Installing

Pypi Install

pip install seledroid

Step 1

git clone https://github.com/luanon404/seledroid

Step 2

cd seledroid

Step 3

python setup.py install

Or just use this short command

git clone https://github.com/luanon404/seledroid && cd seledroid && python setup.py install

Drivers

You can download driver at here.

Example 0

from seledroid import webdriver
driver = webdriver.Chrome()
driver.get("http://demo.t3-framework.org/joomla30/index.php/en/joomla-pages/sample-page-2/login-page")
elem = driver.find_element_by_id("remember")
elem.click()
driver.wait(10)
driver.close()

Example 1

from seledroid import webdriver
from seledroid.webdriver.common.by import By
from seledroid.webdriver.common.keys import Keys
driver = webdriver.Chrome()
driver.get("https://google.com")
elem = driver.find_element(By.NAME, "q")
elem.send_text("seledroid")
elem.send_key(Keys.ENTER)
driver.wait(10)
driver.close()

seledroid's People

Contributors

luanon404 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.