All Projects → qahive → robotframework-puppeteer

qahive / robotframework-puppeteer

Licence: Apache-2.0 License
Puppeteer Web testing library for Robot Framework

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to robotframework-puppeteer

Headless Recorder
Chrome extension that records your browser interactions and generates a Playwright or Puppeteer script.
Stars: ✭ 13,786 (+41675.76%)
Mutual labels:  puppeteer, playwright
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (+100%)
Mutual labels:  robotframework, puppeteer
mitm-play
Man in the middle using Playwright
Stars: ✭ 13 (-60.61%)
Mutual labels:  puppeteer, playwright
bots-zoo
No description or website provided.
Stars: ✭ 59 (+78.79%)
Mutual labels:  puppeteer, playwright
browser-automation-api
Browser automation API for repetitive web-based tasks, with a friendly user interface. You can use it to scrape content or do many other things like capture a screenshot, generate pdf, extract content or execute custom Puppeteer, Playwright functions.
Stars: ✭ 24 (-27.27%)
Mutual labels:  puppeteer, playwright
WebDemo
Robot Framework web testing demo using SeleniumLibrary
Stars: ✭ 161 (+387.88%)
Mutual labels:  robotframework, webtesting
Qawolf
🐺 Create browser tests 10x faster
Stars: ✭ 2,912 (+8724.24%)
Mutual labels:  puppeteer, playwright
Recorder
A browser extension that generates Cypress, Playwright and Puppeteer test scripts from your interactions 🖱 ⌨
Stars: ✭ 277 (+739.39%)
Mutual labels:  puppeteer, playwright
mugshot
Framework independent visual testing library
Stars: ✭ 126 (+281.82%)
Mutual labels:  puppeteer, playwright
playwright-demos
playwright for scrapping and UI testing / automate testing workflows
Stars: ✭ 65 (+96.97%)
Mutual labels:  puppeteer, playwright
browser-pool
A Node.js library to easily manage and rotate a pool of web browsers, using any of the popular browser automation libraries like Puppeteer, Playwright, or SecretAgent.
Stars: ✭ 71 (+115.15%)
Mutual labels:  puppeteer, playwright
xstate-marionettist
Model based testing with Jest, XState and Puppeteer or Playwright made easy
Stars: ✭ 23 (-30.3%)
Mutual labels:  puppeteer, playwright
TrackPurchase
단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
Stars: ✭ 19 (-42.42%)
Mutual labels:  puppeteer
Spotify-Headless
Experimental wrapper for Spotify API to search songs and control the web player using the CLI. (Feat. Puppeteer)
Stars: ✭ 73 (+121.21%)
Mutual labels:  puppeteer
naos
📉 Uptime and error monitoring CLI
Stars: ✭ 30 (-9.09%)
Mutual labels:  puppeteer
protonmail-api
✉ Node.js API for ProtonMail
Stars: ✭ 108 (+227.27%)
Mutual labels:  puppeteer
playwright-fluent
Fluent API around playwright
Stars: ✭ 71 (+115.15%)
Mutual labels:  playwright
purescript-toppokki
A binding to puppeteer to drive headless Chrome.
Stars: ✭ 48 (+45.45%)
Mutual labels:  puppeteer
botcity-framework-core-python
BotCity Framework - Python
Stars: ✭ 28 (-15.15%)
Mutual labels:  robotframework
docker-google-lighthouse-puppeteer
Google Lighthouse + Puppeteer / Docker Image
Stars: ✭ 29 (-12.12%)
Mutual labels:  puppeteer

Functional Test Gitpod ready-to-code

robotframework-puppeteer

Robot Framework Puppeteer Library powered by Pyppeteer. Improve automated web testing with chrome native functionality from Puppeteer by Google and webkit from Playwright.

More detail please visit Robot Framework Puppeteer Homepage

We aim to provide keywords similar to robotframework-seleniumlibrary and add core puppeteer functionality that will improve test experiences. Example:

  • Handle HTTP Request
  • Handle HTTP Response
  • Intercepter Http
  • Intercepter javascript function

Browser Support

Browser Support Library
Chromium Puppeteer & Playwright
WebKit Playwright
Firefox Playwright

Keyword documentation

See keyword documentation for available keywords and more information about the library in general.

Installation

Please ensure you have Python version >= 3.7 installed.

The recommended installation method is using pip_::

pip install --upgrade robotframework-puppeteerlibrary
python -m playwright install
pyppeteer-install

Or manually install by running following command

pip install -r requirements.txt
python setup.py install
python -m playwright install
pyppeteer-install

Usage

*** Settings ***
Library    PuppeteerLibrary
Test Teardown    Close Browser


*** Test Cases ***
Example login form submit
    ${HEADLESS}     Get variable value    ${HEADLESS}    ${False}
    &{options} =    create dictionary   headless=${HEADLESS}
    Open browser    http://127.0.0.1:7272   options=${options}
    Input text    id:username_field    demo
    Input text    id:password_field    mode
    Click Element    id:login_button
    Wait Until Page Contains    Login succeeded
    # Logout and wait for homepage loaded
    Run Async Keywords
    ...    Click Link    partial link:logout    AND
    ...    Wait For Response Url    http://127.0.0.1:7272/

Please run demo application on your local before execute example test scripts.

Starting demo application

Running tests requires the demo application located under demoapp directory to be running. It can be started either by double clicking demoapp/server.py file in a file manager or by executing it from the command line:

python demoapp/server.py

Full example please recheck Examples

Extended Puppeteer Libraries

Library Description
Percy.io Visual testing library for Robot Framework Puppeteer.

Contributor

robotframework-puppeteer mainly contribute by QAHive Co. Ltd.

Interested to contribute Cool!! please looking at the Contribution guidelines

Credit

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