SeleniumMoveCursor
Moving cursor to element in browser run by selenium webdriver. Works for chrome and firefox browser maximized or minimized. Method to use is move_to_element.
Preconditions
- Web element is visible on browser (scroll should be done before calling method move_to_element)
Parameters for method move_to_element
-
driver - WebDriver
-
element - WebElement
-
display_scaling - Display scaling (100, 125, 150 or 175 %) need to be given when calling method move_to_element. Default is 100. This info can be found in display settings.
-
chrome_info_bar_shown - Is shown chrome infobar with text: "Chrome is being controlled by automated test software"
How to use method for moving cursor to web element (move_to_element):
from selenium import webdriver from selenium_move_cursor.MouseActions import move_to_element_chrome
driver = webdriver.Chrome(chrome_options=chrome_options)
driver.maximize_window()
driver.get("https://www.google.com/") element = driver.find_elements_by_css_selector("input[class='gNO89b']")[1]
move_to_element_chrome(driver, element, display_scaling=100, chrome_info_bar_shown=True)
Release files for selenium-move-cursor 0.0.8
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-move-cursor-0.0.8.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| selenium_move_cursor-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / selenium-move-cursor-0.0.8.tar.gz
| Download URL | selenium-move-cursor-0.0.8.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16a07a5e00ad1f5e69b1677d24c572db9eee73154dedc5a14c01933e24d66dd4
|
|
BLAKE2b-256 checksum How to use checksums |
ea327e94771226dc0932d65d695ebac6799b55f5691beefa25a3679843cb8790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
|
Release files / selenium_move_cursor-0.0.8-py3-none-any.whl
| Download URL | selenium_move_cursor-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6843f39c1eed761251e6c344b568b45d82d81b4894f746d9daeb81fdd1f32917
|
|
BLAKE2b-256 checksum How to use checksums |
c0440bd0d264a4b91e0eeed6968285e318e070af1ea396d25cb3f94d5d4d0fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
|