{"id":21063092,"url":"https://github.com/amazingtest/violent-webdriver","last_synced_at":"2025-09-10T11:38:37.585Z","repository":{"id":48139742,"uuid":"138674204","full_name":"amazingTest/violent-webdriver","owner":"amazingTest","description":"UI自动化测试暴力插件","archived":false,"fork":false,"pushed_at":"2021-01-14T03:48:40.000Z","size":215,"stargazers_count":43,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T01:49:25.698Z","etag":null,"topics":["convinient-functions","selenium","selenium-plugin","violent","webdriver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amazingTest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-26T02:28:33.000Z","updated_at":"2023-07-20T16:20:20.000Z","dependencies_parsed_at":"2022-07-29T01:18:09.706Z","dependency_job_id":null,"html_url":"https://github.com/amazingTest/violent-webdriver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingTest%2Fviolent-webdriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingTest%2Fviolent-webdriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingTest%2Fviolent-webdriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingTest%2Fviolent-webdriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amazingTest","download_url":"https://codeload.github.com/amazingTest/violent-webdriver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254455798,"owners_count":22074058,"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","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":["convinient-functions","selenium","selenium-plugin","violent","webdriver"],"created_at":"2024-11-19T17:43:57.831Z","updated_at":"2025-05-16T02:31:25.452Z","avatar_url":"https://github.com/amazingTest.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# violent-webdriver\n\nviolent-webdriver is created by post-packaging selenium webdriver,  violent-webdriver has many convinient functions\nwhich can highly insure the browser operation, you don't need to worry about whether the element is really present\non current page or clickable at specific time while using violent-webdriver. it will handle this sort\nof annoying problems\n\nviolent-webdriver 诞生于二次封装 selenium webdriver，内部封装了许多方法来确保浏览器操作的执行性，你不需要去担心定位到的元素是否存在于当前页面或者元素是否在当前时刻处于可点击状态，报错重试机制可以帮你自动解决这些不必要的麻烦。\n\n\nFind the latest version on github : https://github.com/amazingTest/violent-webdriver\n\n\n## Installation\nThe last stable release is available on PyPI and can be installed with pip.\n**make sure that Chrome has been installed and match the selenium version** \n\n    $ pip install selenium\n\n    $ pip install violent-webdriver\n\n## Best Practice\nFirstly, create a python file: c:\\folder\\mytest.py\n\n    # c:\\folder\\mytest.py\n    from violent_webdriver import Chrome\n\n    dr = Chrome.violent_chromedriver(executable_path=[CHROMEDRIVER_PATH], use_mobile_emulation=True)\n    dr.get('http://www.baidu.com')\n    dr.v_send_keys(locate_rule={'css selector': 'input[name=\\'word\\']'}, message='test')\n    dr.v_click(locate_rule={'css selector': 'button[class=\\'se-bn\\']'})\n\nthen use your IDE to run this script or\n\n    $ python c:\\folder\\mytest.py\n\nif successful, you will see the search result of 'test' by a mobile emulated browser\n\nFor more code examples, please refer to the examples folder in source distribution or\nvisit https://github.com/amazingTest/violent-webdriver/tree/master/examples\n\n## Contact me\n\nWelcome to follow my public account 「AI测试前线」by WeChat and contact me \n\n欢迎大家来关注我的个人公众号 「AI测试前线」并进行深度交流\n\n![image](https://github.com/amazingTest/violent-webdriver/blob/master/images/publicAcount.jpg)\n\nFinally, if you really find this lib useful，**donation** is welcome by using your phone to scann the two-dimensional \ncode below\n \n最后，如果你觉得这个库真的好用的话可以扫码给作者一些鼓励哦~\n\n![image](https://github.com/amazingTest/violent-webdriver/blob/master/images/wechatDonation.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famazingtest%2Fviolent-webdriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famazingtest%2Fviolent-webdriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famazingtest%2Fviolent-webdriver/lists"}