Selenium Kit
Selenium toolkit to download the selenium drivers automatically and to use the selenium drivers with all the necessary functions.
Sample Code
# Import selenium drivers
from seleniumKit import SeleniumDriver
# Create the selenium object
selenium = SeleniumDriver()
# Call the url
url = "https://www.imdb.com/"
selenium.callURL(url)
# Write on the search text field
xpath = "input[@id='suggestion-search']"
element = selenium.elementByXPath(xpath)
selenium.sendKeys(element, preference)
# Click on the first search result
xpath = "div[@class='sc-idXgbr iHkrUj searchform__inputContainer']/div/div/div/ul/li"
movie_search_result = selenium.elementsByXPath(xpath)
sleep(0.5)
selenium.clickOnElement(movie_search_result[0])
# Delete the selenium driver
del selenium
Metadata
Release files for selenium-kit 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| selenium-kit-0.0.3.tar.gz | 2.7 kB | Details |
Release files / selenium-kit-0.0.3.tar.gz
| Download URL | selenium-kit-0.0.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2027e1ca251f542e9b8cb13ef517aeaf2cf78fc852521c382fbf2c9a242047e
|
|
BLAKE2b-256 checksum How to use checksums |
2b130df4f836b430a1099e19fe301d8b3ada5b602adc9887b93e59768e013fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|