# Send text to coordinates with Selenium
```python
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10
$pip install a-selenium-keys2coords
from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from a_selenium_keys2coords import send_keys_coordinates
if __name__ == "__main__":
folderchromedriver = "f:\\seleniumdriver3"
path = download_undetected_chromedriver(
folder_path_for_exe=folderchromedriver, undetected=True
)
driver = uc.Chrome(driver_executable_path=path)
driver.get(
r"https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo"
)
sleep(2)
send_keys_coordinates(driver, x=300, y=300, text="testest@text.com")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/a_selenium_keys2coords",
"name": "a-selenium-keys2coords",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Selenium,keys,keystrokes",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8d/38/c93bdc026b06d6e2d1fe350be379d73d81d0869097e8147e9f1a00d73b1a/a_selenium_keys2coords-0.10.tar.gz",
"platform": null,
"description": "\n# Send text to coordinates with Selenium\n\n```python\n# Tested with:\n# https://github.com/ultrafunkamsterdam/undetected-chromedriver\n# Python 3.9.13\n# Windows 10\n\n\n$pip install a-selenium-keys2coords\n\nfrom auto_download_undetected_chromedriver import download_undetected_chromedriver\nimport undetected_chromedriver as uc\n\nfrom a_selenium_keys2coords import send_keys_coordinates\n\nif __name__ == \"__main__\":\n folderchromedriver = \"f:\\\\seleniumdriver3\"\n path = download_undetected_chromedriver(\n folder_path_for_exe=folderchromedriver, undetected=True\n )\n driver = uc.Chrome(driver_executable_path=path)\n driver.get(\n r\"https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo\"\n )\n sleep(2)\n send_keys_coordinates(driver, x=300, y=300, text=\"testest@text.com\")\n```\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Takes a screenshot of every element on a site",
"version": "0.10",
"split_keywords": [
"selenium",
"keys",
"keystrokes"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "8d5a72ace539a94cab0b1a703ccafef7",
"sha256": "96dcef30d20ad7376eddd26cb8db97f5154612f06fed14ceb633e86ccac14fdd"
},
"downloads": -1,
"filename": "a_selenium_keys2coords-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8d5a72ace539a94cab0b1a703ccafef7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5407,
"upload_time": "2023-01-01T13:25:54",
"upload_time_iso_8601": "2023-01-01T13:25:54.055239Z",
"url": "https://files.pythonhosted.org/packages/32/97/72faa91cd508062ea719d9c5343a8d0765645e4572309e4741ebffd60bb4/a_selenium_keys2coords-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "6538807979243c68bf74ad3de7486af9",
"sha256": "922cd54f7df5d22fda27a4c3c7fa9d0803d8c9f7fa009c01bbabd1300ecf6f63"
},
"downloads": -1,
"filename": "a_selenium_keys2coords-0.10.tar.gz",
"has_sig": false,
"md5_digest": "6538807979243c68bf74ad3de7486af9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3857,
"upload_time": "2023-01-01T13:25:55",
"upload_time_iso_8601": "2023-01-01T13:25:55.534718Z",
"url": "https://files.pythonhosted.org/packages/8d/38/c93bdc026b06d6e2d1fe350be379d73d81d0869097e8147e9f1a00d73b1a/a_selenium_keys2coords-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-01 13:25:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansalemaos",
"github_project": "a_selenium_keys2coords",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "a-selenium-keys2coords"
}