Skip to main content

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)

Source distribution for selenium-move-cursor 0.0.8
File Size Uploaded
selenium-move-cursor-0.0.8.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for selenium-move-cursor 0.0.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page