All Projects → SeldomQA → Poium

SeldomQA / Poium

Licence: apache-2.0
Selenium/appium-based Page Objects test library

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Poium

Web-Spider-Login-Bilibili-Python3
网络爬虫模拟登陆bilibili 滑动验证码的破解 弹幕发送 2018-10-9
Stars: ✭ 38 (-85.44%)
Mutual labels:  selenium
SEU-NewCourseElection-Helper
东南大学抢课助手。适配2021版选课系统。脚本仅用于捡漏,虽然理论上也可以抢课,但至少,我自己是不敢尝试的😋。本脚本仅供 SEU er 学习交流使用,出啥问题的话俺一概不负责任
Stars: ✭ 19 (-92.72%)
Mutual labels:  selenium
WhatsApp-Scraping
Python script to get WhatsApp iformation frrom WhatsApp Web
Stars: ✭ 76 (-70.88%)
Mutual labels:  selenium
ZZULI-healthreport
郑州轻工业大学疫情打卡
Stars: ✭ 95 (-63.6%)
Mutual labels:  selenium
difido-reports
This project aims to provide a generic implementation for HTML test reports.
Stars: ✭ 38 (-85.44%)
Mutual labels:  selenium
Automated-Whatsapp
Automated WhatsApp replies using selenium module in Python
Stars: ✭ 23 (-91.19%)
Mutual labels:  selenium
atata-kendoui
A set of Atata components for Kendo UI
Stars: ✭ 17 (-93.49%)
Mutual labels:  selenium
Htmlelements
Html Elements is a Java framework providing easy-to-use way of interaction with web-page elements in web-page tests.
Stars: ✭ 258 (-1.15%)
Mutual labels:  selenium
pluralsight scrapper
A course downloader/scrapper for https://www.pluralsight.com
Stars: ✭ 39 (-85.06%)
Mutual labels:  selenium
TestLeafSeleniumTraining
This is public repository for Selenium Learners at TestLeaf
Stars: ✭ 80 (-69.35%)
Mutual labels:  selenium
rjango
Django boilerplate with GraphQL, serving a Webpack compiled React Relay Modern frontend.
Stars: ✭ 73 (-72.03%)
Mutual labels:  selenium
webdrivermanager-examples
JUnit tests with Selenium WebDriver and WebDriverManager
Stars: ✭ 94 (-63.98%)
Mutual labels:  selenium
sahagin-java
Sahagin generates highly readable Selenium/Appium test report from your test code.
Stars: ✭ 26 (-90.04%)
Mutual labels:  selenium
babel-plugin-remove-test-ids
🐠 Babel plugin to strip `data-test-id` HTML attributes
Stars: ✭ 40 (-84.67%)
Mutual labels:  selenium
schedule-tweet
Schedules tweets using TweetDeck
Stars: ✭ 14 (-94.64%)
Mutual labels:  selenium
bots-zoo
No description or website provided.
Stars: ✭ 59 (-77.39%)
Mutual labels:  selenium
Instagram-Scraper-2021
Scrape Instagram content and stories anonymously, using a new technique based on the har file (No Token + No public API).
Stars: ✭ 57 (-78.16%)
Mutual labels:  selenium
Pywhatsapp
Python Automation using selenium & Scheduling of messages and media
Stars: ✭ 257 (-1.53%)
Mutual labels:  selenium
Dorknet
Selenium powered Python script to automate searching for vulnerable web apps.
Stars: ✭ 256 (-1.92%)
Mutual labels:  selenium
Stock-Fundamental-data-scraping-and-analysis
Project on building a web crawler to collect the fundamentals of the stock and review their performance in one go
Stars: ✭ 40 (-84.67%)
Mutual labels:  selenium

基于 selenium/appium 的 Page Objects 设计模式测试库。

  • 极大的简化了Page层的元素定义。
  • 同时支持selenium和appium
  • 通过JavaScript扩展了selenium API
  • 对原生 API 无损

Installation

pip install:

> pip install poium

If you want to keep up with the latest version, you can install with github repository url:

> pip install -U git+https://github.com/SeldomQA/[email protected]

旧版本说明

poium < 0.6.0版本,主要提供了PagePageElementPageElementPageSelectPageWait等类。

参考文档

poium>=0.6.0, <1.0.0 版本,新增了NewPageElement类,用新的方式重新实现了PageElement类的大部分功能。 推荐使用NewPageElement 类。

参考文档

Sample

通过下面的例子,体会Page Objects 设计模式如此简单。

from poium import Page, Element
from selenium import webdriver


class BaiduIndexPage(Page):
    search_input = Element(name='wd')
    search_button = Element(id_='su')


driver = webdriver.Chrome()
page = BaiduIndexPage(driver)
page.get("https://www.baidu.com")

page.search_input.send_keys("poium") 
page.search_button.click()

driver.quit()

更多例子,请点击这里

Documentation

在开使用poium前,请快速阅读下面的文档。

Project usage

  • 在基于pytest的自动化项目中的应用,请点击这里

  • 在基于seldom自动化测试框架的应用,请点击这里

Project History

参考项目:https://github.com/eeaston/page-objects

参考项目已经不再维护,我阅读了原项目代码,虽然只有100多行,但设计非常精妙。本项目在此基础上进行开发。

原项目名:https://pypi.org/project/selenium-page-objects/

本项目的核心是 Page Objects设计模式, 于是取了 PO,同时支持selenium/appium,于是取了 ium,那么新的项目命名为:poium

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].