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 :)
For someone want to use real selenium, follow this tutorial Selenium-On-Termux-Android.
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.
Telegram: here
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.
Instead of needing pc to use selenium you just need a smart phone to use seledroid.
Everything is simple, no need for any dependencies.
- Python 3.7+
pip install seledroid
git clone https://github.com/luanon404/seledroid
cd seledroid
python setup.py install
git clone https://github.com/luanon404/seledroid && cd seledroid && python setup.py install
You can download driver at here.
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()
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()