All Projects → amazingTest → violent-webdriver

amazingTest / violent-webdriver

Licence: AGPL-3.0 license
UI自动化测试暴力插件

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to violent-webdriver

Nosmoke
A cross platform UI crawler which scans view trees then generate and execute UI test cases.
Stars: ✭ 178 (+334.15%)
Mutual labels:  webdriver
Arsenic
Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Stars: ✭ 209 (+409.76%)
Mutual labels:  webdriver
Pytest Selenium
Plugin for running Selenium with pytest
Stars: ✭ 246 (+500%)
Mutual labels:  webdriver
Thirtyfour
Selenium WebDriver client for Rust, for automated testing of websites
Stars: ✭ 191 (+365.85%)
Mutual labels:  webdriver
Appium
📱 Automation for iOS, Android, and Windows Apps.
Stars: ✭ 14,469 (+35190.24%)
Mutual labels:  webdriver
Steward
PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust
Stars: ✭ 215 (+424.39%)
Mutual labels:  webdriver
Qtwebdriver
WebDriver implementation for Qt
Stars: ✭ 152 (+270.73%)
Mutual labels:  webdriver
wd.java
Java Client binding for Macaca
Stars: ✭ 30 (-26.83%)
Mutual labels:  webdriver
Element
💦Load test your app using real web browsers
Stars: ✭ 204 (+397.56%)
Mutual labels:  webdriver
Selenoid Ui
Graphical user interface for Selenoid project
Stars: ✭ 237 (+478.05%)
Mutual labels:  webdriver
Xctestwd
A Swift implementation of WebDriver server for iOS that runs on Simulator/iOS devices.
Stars: ✭ 195 (+375.61%)
Mutual labels:  webdriver
Panther
A browser testing and web crawling library for PHP and Symfony
Stars: ✭ 2,480 (+5948.78%)
Mutual labels:  webdriver
Selenium Python Helium
Selenium-python but lighter: Helium is the best Python library for web automation.
Stars: ✭ 2,732 (+6563.41%)
Mutual labels:  webdriver
Seleniumbase
A Python framework that inspires developers to become better test automation engineers. 🧠💡
Stars: ✭ 2,520 (+6046.34%)
Mutual labels:  webdriver
Selion
Enabling Test Automation in Java
Stars: ✭ 252 (+514.63%)
Mutual labels:  webdriver
Windows Images
Step by step instructions for building Docker images with Windows
Stars: ✭ 170 (+314.63%)
Mutual labels:  webdriver
Splinter
splinter - python test framework for web applications
Stars: ✭ 2,476 (+5939.02%)
Mutual labels:  webdriver
wdio-intercept-service
🕸 Capture and assert HTTP ajax calls in webdriver.io
Stars: ✭ 101 (+146.34%)
Mutual labels:  webdriver
elemental
Elemental makes Selenium automation faster and easier.
Stars: ✭ 36 (-12.2%)
Mutual labels:  webdriver
Cdp4j
cdp4j - Chrome DevTools Protocol for Java
Stars: ✭ 232 (+465.85%)
Mutual labels:  webdriver

violent-webdriver

violent-webdriver is created by post-packaging selenium webdriver, violent-webdriver has many convinient functions which can highly insure the browser operation, you don't need to worry about whether the element is really present on current page or clickable at specific time while using violent-webdriver. it will handle this sort of annoying problems

violent-webdriver 诞生于二次封装 selenium webdriver,内部封装了许多方法来确保浏览器操作的执行性,你不需要去担心定位到的元素是否存在于当前页面或者元素是否在当前时刻处于可点击状态,报错重试机制可以帮你自动解决这些不必要的麻烦。

Find the latest version on github : https://github.com/amazingTest/violent-webdriver

Installation

The last stable release is available on PyPI and can be installed with pip. make sure that Chrome has been installed and match the selenium version

$ pip install selenium

$ pip install violent-webdriver

Best Practice

Firstly, create a python file: c:\folder\mytest.py

# c:\folder\mytest.py
from violent_webdriver import Chrome

dr = Chrome.violent_chromedriver(executable_path=[CHROMEDRIVER_PATH], use_mobile_emulation=True)
dr.get('http://www.baidu.com')
dr.v_send_keys(locate_rule={'css selector': 'input[name=\'word\']'}, message='test')
dr.v_click(locate_rule={'css selector': 'button[class=\'se-bn\']'})

then use your IDE to run this script or

$ python c:\folder\mytest.py

if successful, you will see the search result of 'test' by a mobile emulated browser

For more code examples, please refer to the examples folder in source distribution or visit https://github.com/amazingTest/violent-webdriver/tree/master/examples

Contact me

Welcome to follow my public account 「AI测试前线」by WeChat and contact me

欢迎大家来关注我的个人公众号 「AI测试前线」并进行深度交流

image

Finally, if you really find this lib useful,donation is welcome by using your phone to scann the two-dimensional code below

最后,如果你觉得这个库真的好用的话可以扫码给作者一些鼓励哦~

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].