CI PublishCoveralls github Codacy Badge Maven Central

Webot is a web robot EDSL base on scala.

Quick Start

Requirements

  • Chrome
  • Chrome Driver
  • JDK
  • Scala
  • Ammonite

Use ammonite-repl to run the scripts blow:

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)
}