Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanabix/webot
https://github.com/hanabix/webot
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/hanabix/webot
- Owner: hanabix
- License: apache-2.0
- Created: 2021-08-02T11:03:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T03:33:19.000Z (11 months ago)
- Last Synced: 2023-11-28T06:24:00.530Z (11 months ago)
- Language: Scala
- Size: 152 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CI](https://github.com/hanabix/webot/actions/workflows/ci.yml/badge.svg)](https://github.com/hanabix/webot/actions/workflows/ci.yml) [![Publish](https://github.com/hanabix/webot/actions/workflows/sbt-release.yml/badge.svg)](https://github.com/hanabix/webot/actions/workflows/sbt-release.yml)[![Coveralls github](https://img.shields.io/coveralls/github/hanabix/webot.svg)](https://coveralls.io/github/hanabix/webot?branch=main) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/61b6a7eb4e63417fbb16f8f4f0c8efba)](https://www.codacy.com/gh/hanabix/webot/dashboard?utm_source=github.com&utm_medium=referral&utm_content=hanabix/webot&utm_campaign=Badge_Grade) [![Maven Central](https://img.shields.io/maven-central/v/com.github.zhongl/webot_2.13)](https://search.maven.org/artifact/com.github.zhongl/webot_2.13)
**Webot** is a web robot EDSL base on scala.
## Quick Start
### Requirements
- Chrome
- Chrome Driver
- JDK
- Scala
- Ammonite> Use [ammonite-repl](http://ammonite.io/) to run the scripts blow:
```scala
import $ivy.`com.github.zhongl:webot_2.13:latest.release`, webot.dsl._, selenium._open("https://baidu.com") apply {
for {
_ <- a("#kw") apply input("github")
suggestions <- all("li.bdsug-overflow") get text
} yield output(suggestions)
}
```