element-manager


Nameelement-manager JSON
Version 1.0.4 PyPI version JSON
download
home_page
SummarySelenium Element Finder Library
upload_time2022-12-12 07:22:18
maintainer
docs_urlNone
authorDataKund
requires_python
licenseApache License 2.0
keywords selenium no-html web-scraping bots test-automation no-code low-code cloud proxy datakund
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ### Installation
```sh
pip install element-manager
```

### Import
```sh
from element_manager import get_xpath
```

### [Selenium Auto Code Generator Chrome Extension](https://chrome.google.com/webstore/detail/selenium-auto-code-genera/ocimgcpcnobcnmclomhhmjidgoiekeaf)
- Install the extension in your browser
- Start Recording your actions like 
  - Open Url
  - Click
  - Type
  - Scrape (right click on element & use scrape option)
  - etc.
- Selenium code with Element Manager will be generated automatically
- Copy it & run in your python shell


### Example
Below script searches given keyword on google & scrapes result count
```sh
from selenium import webdriver
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager
from element_manager import *
driver = webdriver.Chrome(ChromeDriverManager().install())

# Open URL
driver.get('https://www.google.com/')

#Click on Search bar
driver.find_element(By.XPATH,get_xpath(driver,'QYQyyPtidm5_xqG')).click()

# Type in search bar
driver.switch_to.active_element.send_keys('shoes\n')

# Scrape result count
result_count=driver.find_element(By.XPATH,get_xpath(driver,'z6XMV66vxokYpfn')).text

print('result_count ',result_count)
driver.quit()

```




### Contact Us
* [Telegram](https://t.me/datakund)
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "element-manager",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "selenium no-html web-scraping bots test-automation no-code low-code cloud proxy datakund",
    "author": "DataKund",
    "author_email": "datakund@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/bf/14/0a2dee416f4dd85d65e4f581ab9ea8ba19075b391db5ed8e2e9a36c5db65/element_manager-1.0.4.tar.gz",
    "platform": null,
    "description": "### Installation\n```sh\npip install element-manager\n```\n\n### Import\n```sh\nfrom element_manager import get_xpath\n```\n\n### [Selenium Auto Code Generator Chrome Extension](https://chrome.google.com/webstore/detail/selenium-auto-code-genera/ocimgcpcnobcnmclomhhmjidgoiekeaf)\n- Install the extension in your browser\n- Start Recording your actions like \n  - Open Url\n  - Click\n  - Type\n  - Scrape (right click on element & use scrape option)\n  - etc.\n- Selenium code with Element Manager will be generated automatically\n- Copy it & run in your python shell\n\n\n### Example\nBelow script searches given keyword on google & scrapes result count\n```sh\nfrom selenium import webdriver\nfrom selenium.webdriver.common.by import By\nfrom webdriver_manager.chrome import ChromeDriverManager\nfrom element_manager import *\ndriver = webdriver.Chrome(ChromeDriverManager().install())\n\n# Open URL\ndriver.get('https://www.google.com/')\n\n#Click on Search bar\ndriver.find_element(By.XPATH,get_xpath(driver,'QYQyyPtidm5_xqG')).click()\n\n# Type in search bar\ndriver.switch_to.active_element.send_keys('shoes\\n')\n\n# Scrape result count\nresult_count=driver.find_element(By.XPATH,get_xpath(driver,'z6XMV66vxokYpfn')).text\n\nprint('result_count ',result_count)\ndriver.quit()\n\n```\n\n\n\n\n### Contact Us\n* [Telegram](https://t.me/datakund)",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Selenium Element Finder Library",
    "version": "1.0.4",
    "split_keywords": [
        "selenium",
        "no-html",
        "web-scraping",
        "bots",
        "test-automation",
        "no-code",
        "low-code",
        "cloud",
        "proxy",
        "datakund"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "90b10bbf71e1a08e29a4b9b34f42c7b5",
                "sha256": "cb6dbb288a226d2968d6750823e110b99beda1daa15d1be66be1fb3b3c8dc460"
            },
            "downloads": -1,
            "filename": "element_manager-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "90b10bbf71e1a08e29a4b9b34f42c7b5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10638,
            "upload_time": "2022-12-12T07:22:18",
            "upload_time_iso_8601": "2022-12-12T07:22:18.162932Z",
            "url": "https://files.pythonhosted.org/packages/bf/14/0a2dee416f4dd85d65e4f581ab9ea8ba19075b391db5ed8e2e9a36c5db65/element_manager-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-12 07:22:18",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "element-manager"
}
        
Elapsed time: 0.14480s