GithubHelp home page GithubHelp logo

dylandoamaral / zio-selenium Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 7.0 424 KB

A ZIO wrapper to interact with a browser using Selenium.

License: Apache License 2.0

Scala 91.93% HTML 6.91% Shell 1.15%
scala selenium webdriver zio zio-selenium

zio-selenium's Introduction

Hi, I'm Dylan ๐Ÿฆ‰๐Ÿ‘‹, nice to meet you !

๐Ÿ‘ฆ About me

final case class Human(name: String, age: Int, job: String, hobby: String, nationality: String)

val dylan = Human(
  name = "Dylan DO AMARAL",
  age = 25,
  job = "Data engineer",
  hobby = "๐Ÿ’› Scala",
  nationality = "๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ต๐Ÿ‡น"
)

๐Ÿงฐ My tech stack

  • ๐Ÿ—ฃ๏ธ scala | python | javascript
  • ๐Ÿ—„๏ธ influxDB | postgreSQL | dynamoDB
  • โ˜๏ธ AWS | self hosted
  • ๐Ÿ’ป apple | raspberry pi

zio-selenium's People

Contributors

dylandoamaral avatar scala-steward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zio-selenium's Issues

Create a new By selector

Could be interesting to create a new By selector which looks like By div where id contains foo.

Tests are inconsistent

Tests are inconsistent, I think this is due to the web page that takes time to render. Maybe waiting to handle waits to fix this issue ?

Refactor error handling

Errors are partially handled or not at all in some cases. Don't know if we should continue to throw error such as Selenium do or if we should use a sealed trait ZinteractError.

Implement findElement

For the moment, our surfer can just open an url. Next step is to select an element or several elements inside the website.

Improve webdriver creation

Webdriver has capabilities, you can update them only using System.property. Could be good to handle specific capabilities (ChromeOptions, etc.) and so on using scala objects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.