cwyan605 / webdriver-demos

Web自动化应用简单示例 Web Drivers Quick Start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webdriver-demos

Node Spring Boot 2.0 Coverage MIT

English | 简体中文

Introduction

A collection of simple demos of web auto drivers. These demos can help you run drivers quickly. Then, you can do more based on them.

Example

This is a example based on node.

example

Getting Start

Node

The example requires a Node library puppeteer, which provides a high-level API to control Chrome or Chromium .

# clone the project
git clone https://github.com/SamenYan/webdriver-demos.git

# enter the project directory
cd Node

# install dependency
npm install

# run demo application
npm run start

Java

A Java automation application based on SpringBoot, Selenium .

# clone the project 
git clone https://github.com/SamenYan/webdriver-demos.git

# Import Project in IDEA or Eclipse

# project directory
cd Java/demo

selenium :

<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>selenium-java</artifactId>
    <version>2.44.0</version>
</dependency>

License

MIT

About

Web自动化应用简单示例 Web Drivers Quick Start

License:MIT License


Languages

Language:Java 72.5%Language:JavaScript 27.5%