casparkielwein / cadmium Goto Github PK
View Code? Open in Web Editor NEWSimple Browser Automation in Kotlin
License: MIT License
Simple Browser Automation in Kotlin
License: MIT License
cadmium should offer a nice api to select Webelements.
Currently this needs to be done in a sequnce of clicks, which works, but isn't very nice.
potentially simply wrap selenium Select: https://seleniumhq.github.io/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.select.html
Offer a nice API for download of files and uploads.
download api includes
Often it is required to scroll an element into view before interacting with it.
One way to do that in Selenium is
(driver as JavascriptExecutor).executeScript("arguments[0].scrollIntoView(true);", element)
But since Cadmium does not expose the raw Selenium element, this route is blocked.
Cadmium could either offer a method to do this, or could do it implicitly before any interaction. Devs coming from Selenium would probably prefer the former, since there is less hidden magic.
Currently we provide our own class InteractionHooks instead of using the Selenium Evenlistener.
To allow more customization and better maintainability we should instead wrap selenium Eventlistener.
The window Api creates a new page object for the new window.
Page expects to be given a valid URL as base url to allow usage of relative URLs.
Modal windows do not have valid URLs. This results in an InvalidUrl Exception.
The select api currently does not forward these two functions from Selenium.
This makes it necessary to call selenium directly.
Cadmium should offer functionality to handle multiple browser windows.
Selenium has a fairly bare-bones api using strings as window handles and the switchTo api.
We should wrap this api and offer a proper Window Handle type.
It would be nice to have a Window class similiar to Page with represents a given browser window.
The following should be available:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.