{"id":20414309,"url":"https://github.com/inquilabee/browserjquery","last_synced_at":"2025-09-03T18:47:49.097Z","repository":{"id":194654871,"uuid":"691543912","full_name":"inquilabee/BrowserJQuery","owner":"inquilabee","description":"Query using JQuery on selenium driver in Python. ","archived":false,"fork":false,"pushed_at":"2025-06-14T20:58:16.000Z","size":266,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-17T05:40:40.255Z","etag":null,"topics":["browser-automation","browser-jquery","python","python-automation","selenium-python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/browserjquery/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inquilabee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-14T11:52:52.000Z","updated_at":"2025-06-17T19:35:51.000Z","dependencies_parsed_at":"2024-11-15T03:25:46.728Z","dependency_job_id":"2fb77690-71d3-443e-9a51-02e296118298","html_url":"https://github.com/inquilabee/BrowserJQuery","commit_stats":null,"previous_names":["inquilabee/browserquery","inquilabee/browserjquery"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/inquilabee/BrowserJQuery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inquilabee%2FBrowserJQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inquilabee%2FBrowserJQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inquilabee%2FBrowserJQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inquilabee%2FBrowserJQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inquilabee","download_url":"https://codeload.github.com/inquilabee/BrowserJQuery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inquilabee%2FBrowserJQuery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273492705,"owners_count":25115598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser-automation","browser-jquery","python","python-automation","selenium-python"],"created_at":"2024-11-15T06:08:56.521Z","updated_at":"2025-09-03T18:47:49.078Z","avatar_url":"https://github.com/inquilabee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrowserJQuery\n\nA Python library that seamlessly integrates jQuery functionality with Selenium WebDriver. This library provides a convenient and powerful way to interact with web elements using jQuery selectors and methods in your Selenium tests, making web automation more intuitive and efficient.\n\n## Features\n\n- Use jQuery selectors to find elements\n- Chain jQuery methods for complex element interactions\n- Built-in support for common jQuery operations\n- Type-safe implementation with mypy support\n- Comprehensive test coverage\n\n## Installation\n\n```bash\npip install browserjquery\n```\n\nFor development, install with test dependencies:\n\n```bash\npip install \"browserjquery[dev]\"\n```\n\n## Quick Start\n\n```python\nfrom selenium import webdriver\nfrom browserjquery import BrowserJQuery\n\n# Initialize the WebDriver\ndriver = webdriver.Chrome()\n\n# Create a BrowserJQuery instance\njquery = BrowserJQuery(driver)\n\n# Navigate to a page\ndriver.get(\"https://example.com\")\n\n# Find elements using jQuery selectors\nelements = jquery.find(\"div.test-class\")\nfirst_element = jquery.find(\"div.test-class\", first_match=True)\n\n# Find elements containing specific text\nelements_with_text = jquery.find_elements_with_text(\"Hello World\")\n\n# Check if an element has a specific class\nhas_class = jquery.has_class(element, \"active\")\n\n# Get parent elements\nparent = jquery.parent(element)\nall_parents = jquery.parents(element)\n\n# Find closest ancestor with specific selector\nclosest = jquery.find_closest_ancestor(\"div.container\", element)\n```\n\n## Advanced Usage\n\n### Chaining Methods\n\n```python\n# Chain multiple jQuery operations\nresult = jquery.find(\"div.item\").filter(\".active\").find(\"span\").text()\n```\n\n### Working with Forms\n\n```python\n# Fill form fields\njquery.find(\"input[name='username']\").val(\"testuser\")\njquery.find(\"input[name='password']\").val(\"password123\")\n\n# Submit form\njquery.find(\"form\").submit()\n```\n\n### Event Handling\n\n```python\n# Attach event handlers\njquery.find(\"button\").on(\"click\", \"alert('clicked!')\")\n```\n\n## Contributing\n\nContributions are welcome! Feel free to submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finquilabee%2Fbrowserjquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finquilabee%2Fbrowserjquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finquilabee%2Fbrowserjquery/lists"}