2

Github GitHub - Deku463/selenium-ide-fsharp-canopy

 3 years ago
source link: https://github.com/Deku463/selenium-ide-fsharp-canopy
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Selenium IDE ·

[WIP] An integrated development environment for Selenium scripts

Introduction

This project is a work in progress, towards a complete rewrite of the old Selenium IDE. The older IDE was a Firefox extension that relied heavily on APIs that are no longer supported by newer versions of Firefox. In this project, the IDE is developed as a modern browser extension, supporting both Chrome and Firefox and other modern browsers (in theory).

As this is an early stage and many things aren't clear, it's quite challenging to collaborate and coordinate the efforts - so please be patient.

We are using SideeX as a start point. The SideeX team was kind enough to let us use their work.

Installation

Pre-packaged

Prerequisites

  • git has to be in $PATH for the installation to pass

  • yarn npm might work as well (untested)

  • peru

Building

peru requires a POSIX machine to work, for the time being you can only properly build the extension on macOS and Linux.

  • Install the dependencies peru sync
    yarn or if using Node 10 yarn --ignore-engines
  • Build the extension
    yarn build and then yarn watch for faster incremental builds yarn build:ext:prod to build only the extension or yarn build:ext for faster development build (also includes beta features)
  • Install as developer on Google Chrome or Firefox

Manifest located in <Project Directory>/packages/selenium-ide/build/manifest.json

What now?

Here's a draft of the general tasks ahead. Feel free to pitch in and announce which you wish to take upon yourself:

  • Extension UI - SeIDE users should feel right at home
  • Selectors accuracy - an option is ranking selectors - we can optimize selectors correctness and test stability by collecting as many attributes as we can per user event. The most likely properties will be used for the selectors, with fallback to the others.
  • Intelligent editing
  • Export to selenium code in different languages
  • Playback in a way that's consistent with web drivers
  • Open for extensions

Questions or want to chat?

If you have questions, check out our FAQ.

You can also find us on on the #selenium IRC channel, which is also available on Slack.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK